Hello Blarp, On Tuesday, July 30, 2002 at 11:35 PM, a beagle known as Blarp [B] barked:
B> (?i-s) = Turn on caseless, turn off dot matching newline. B> \s = any whitespace character B> From: B> \s = any whitespace char Yes. B> *\" = 0 or 1 " chars Nope. The * works on the previous \s. It says 0 or more white space characters and 1 " character. B> (.*?) = 0 or 1 instances of anything Nope. It is the fewest number of 0 or more of any character. B> \" = must have " Right. B> From: "Vinnie" <[EMAIL PROTECTED]> or B> From: Vinnie Smith <[EMAIL PROTECTED]> or B> From: Vinnie <[EMAIL PROTECTED]> B> From: "Vincent Q. Smith" <[EMAIL PROTECTED]> For the name, try: %REGEXPTEXT='(?im-s)^From:\s*\"?(.*?)\"?\s*\<' You can try the following for the other regexp. %REGEXPTEXT='(?im-s)^From:.*?\<(.*?)\>' -- Thanks for writing, Januk Aggarwal I've determined the momentum of my physics assignment so precisely that it can be anywhere in the universe right now. ______________________________________________________ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
