Okay, with all the suggestions, I've put together a regular expression
that appears to work -- but as I don't feel 100% comfortable with
building regular expressions, I'd like to run it by folks and see if
anyone can find any problems with it. Here's what I'm doing:
aRegEx.SearchPattern = "<[^>]*(src|
background|href)[\s\n]*=[\s\n]*""?([^\s""]+)[\s""][^>]*>"
-Thomas
Personal web page: http://home.earthlink.net/~thomasareed/
My shareware: http://home.earthlink.net/~thomasareed/shareware/
Pixel Pen web pub. guide: http://home.earthlink.net/~thomasareed/pixelpen/
Any closet is a walk-in closet if you try hard enough.
|