Welcome to the Monastery | |
PerlMonks |
Re: keeping one pattern but removing all else from a stringby Cody Pendant (Prior) |
on Jul 13, 2002 at 04:07 UTC ( [id://181452]=note: print w/replies, xml ) | Need Help?? |
You want to keep all the contents, but remove all tags, except for FONT tags?
I do this the quick and dirty way Replace all <FONT> tags with a placeholder tag: {{{font}}} for instance. Then kill all the other tags. Then put the FONT tags back.
--
In Section
Seekers of Perl Wisdom
|
|