[thelist] Stripping out tags
Jay Blanchard
jay.blanchard at niicommunications.com
Tue Nov 25 12:46:08 CST 2003
[snip]
would like to discard everything in-between <font color="#ff0000">
</font> tags, including the tags themselves, using PHP.
To add to it, some of the occurrences of the above have a new line
inserted after '<font '.
At least there are no other attributes included within the <font> tag.
I have been trying to work it out using RegEX, but as I am still trying
to get to grips with RegEX, any suggestions would be really appreciated.
[/snip]
http://www.php.net/strip_tags
More information about the thelist
mailing list