[thelist] Regex frustration....
Andrew Forsberg
andrew at thepander.co.nz
Wed Sep 26 16:29:38 CDT 2001
I'm not a regex expert, but this just matched every <font blah blah>
and </font> tag in a document:
<[/]*font[^>]*>
I was using BBEdit, though, and it matched any case with this
expression -- which I don't think is strictly correct given the
pattern above. So, you may need to do some tuning for case
insensitivity if you use it.
Cheers
Andrew
>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.
--
Andrew Forsberg
---
the pander - http://thepander.co.nz/
uberNET - http://uber.net.nz/
More information about the thelist
mailing list