Bill Landry wrote:
Matt, you might try using the invert-match flag: -v
-v, --invert-match
Invert the sense of matching, to select non-match�ing lines.
Unfortunately that isn't an option in VBScript. What I was really trying to do is return a string with just the HTML and not what is before, after or in between it. When you execute a regEx expression in VBScript, it returns the matches in an object similar to an array, and by adding a loop to take each value and add that to a string does work, but there's probably a better way. Doing the inverse as was shown in that script that you linked to is easy due to the replace method, but it seems strange that there isn't a more simple way to return just the matches. I'm still weak on the syntax and having issues with doing and/or/not stuff, but I'm sure that I'll pick it up in time, and maybe some help.
Thanks,
Matt
-- ===================================================== MailPure custom filters for Declude JunkMail Pro. http://www.mailpure.com/software/ =====================================================
--- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]
--- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
