----- Original Message ----- From: "Matt" <[EMAIL PROTECTED]>
> 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. Hmmm, does VBScript support sed type command syntax? Is this the kind of output you're looking for?: <alt=""> <td> <td> <tr> <tr> <7"> <alt=""> <td> <tr> <tr> <333333"> <alt=""> <td> <tr> <tr> <7"> <alt=""> <td> <tr> <tr> <333333"> <alt=""> <td> <tr> <table> <footer --> <td> <tr> <table> <body --> <td> <tr> <table> <td> <tr> <table> <body> <html> Which is partical output from an html e-mail that I got from the following script: sed "s/\</\\n\</g" html-mail.txt | egrep "<[^>]*>" You would need to add a few clean-up commands, but that's roughly it. Bill --- [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.
