[thelist] Stripping out tags

The Lists thelists at antonakis.co.uk
Tue Nov 25 10:12:10 CST 2003


Hi,

I 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.

TIA
Alexis






More information about the thelist mailing list