Answers for "php remove script tags from string"

PHP
1

remove html tags from string php

<?php
	echo strip_tags("Hello <b>world!</b>");
Posted by: Guest on June-03-2020
0

php remove script tag from string

$html = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $html);
Posted by: Guest on August-16-2020

Code answers related to "php remove script tags from string"

Browse Popular Code Answers by Language