mpalmer12345
Programmer
Here's a question I have been puzzling over for a while.
I want to replace all pretags in a text with "", EXCEPT the pretag.
I figure that $text =~ s/&[a-zA-Z]+?;//ig; will wipe out ALL of them. But how do I wipe out all but ?
I've tried a few dumb things, but I can't seem to make it work, so I appeal to the higher forces here.
I want to replace all pretags in a text with "", EXCEPT the pretag.
I figure that $text =~ s/&[a-zA-Z]+?;//ig; will wipe out ALL of them. But how do I wipe out all but ?
I've tried a few dumb things, but I can't seem to make it work, so I appeal to the higher forces here.