I have text with secial tags and html in them. The tags take the format of [TAG]content[/TAG]. I need to strip all of the [TAGS] and whats contained within- I also need to remove the HTML.
I can remove the HTML but the brackets [ and ] are driving me nuts.
Can anyone help?
$newstext = strip_tags($newstext,"");
$newstext = ereg_replace("http://", "", $newstext);