[thelist] Regex frustration....

Chris George chrisg at gsnet.com
Wed Sep 26 16:18:00 CDT 2001


I'm losing my mind trying to figure out how regex's work...

I've got some HTML files that I'd like to strip various different kinds of
<font> tags out of...

Rather than finding them one-by-one and deleting them manually, I was hoping
to try out something new: regular expressions.

Boy, are these things hard.

Can anyone shed some light on how I can remove these font tags as easily
(and elegantly) as possible?

I started doing things like <font.*> and <.+font.+> and weird crap - I just
don't think I get it.

Can someone help me?

Thanks!

Chris.





More information about the thelist mailing list