reubenb
10-12-2005, 07:16 AM
ok, so im new to this whole regular expression thing.
<[^>]*> removes all HTML tags
but say I DONT want to remove <br> or <br /> (xhtml) tags
i thought <(?!br)[^>]*> or <(?!br /)[^>]*> would work but it doesn't?
any ideas?
<[^>]*> removes all HTML tags
but say I DONT want to remove <br> or <br /> (xhtml) tags
i thought <(?!br)[^>]*> or <(?!br /)[^>]*> would work but it doesn't?
any ideas?