I'm stripping out the attributes in <TD> tags...but I want to strip out
everything BUT the COLSPAN attribute.
The following strips out all attributes. What do I do if I want to keep a
certain one?
eregi_replace(" <TD[^>]*>","<TD>", $string);
I suck at regular expressions. I need some help.
Thanks
everything BUT the COLSPAN attribute.
The following strips out all attributes. What do I do if I want to keep a
certain one?
eregi_replace(" <TD[^>]*>","<TD>", $string);
I suck at regular expressions. I need some help.
Thanks
Comment