Hi Nick, hi list,

* Nick Danger (ND) writes:

KM>>> Hi (insert their name from "your_name:"),
>> Hi %SetPattRegexp="(?msi)^your_name:\s*(.*?)\s*\n"%RegexpMatch="%Text",

ND> I've got a semi-related question.  Say you're trying to pick out
ND> multiple info from an e-mail with the exact same prefix.

ND> Item: Bicycle
ND> blah, blah, blah...

ND> Item: Television
ND> blah, blah, blah..

ND> Is there any way to lift both items and deposit in a reply?

 First Item: %SetPattRegexp="(?msi)^item:\s*(.*?)\s*\n"%RegexpMatch="%Text"
Second Item: %SetPattRegexp="(?msi)^item:.*?^item:\s*(.*?)\s*\n"%RegexpMatch="%Text"
                                    ^^^^     ^^^^
                                    first    second
                                    item     item

,----- [ qt's output when used in a reply to your mail ]
|  First Item: Bicycle
| Second Item: Television
`-----
-- 
Best regards, Carsten

The Bat! (v1.60d) Business
Windows 2000 5.0 (Build 2195) Service Pack 2, PGP 0xe2d25323


______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to