Marck,

On 04-05-2002 00:59, you wrote (Du skrev f�lgende 04-05-2002 00:59)...
M> It may be me - I was just guessing from what you *said* the format
M> was. No disrespect meant, but that may not have been a detailed enough
M> description to get the right answer.

Maybe not.

Received: Blah
From: Blah
To: Blah
Subject: Blah
-----------------
Text line 1
Text line 2 (Form mail inserts)

navn: XXXXX
tlf: YYYYY
firmanavn:
seNr: 
adresse:
land:
land2: 
mail: ZZZZ

Maybe it goes wrong at the first line?

%TO=''%TO='%REGEXPTEXT="(?Uis).*\nmail:\s(.*\@.*)\s"' extracts only the
mail address perfectly (I know the second version includes QTs.

M>  The main body of the GETADDR
M> macro is this:

M> .*      any number of character (including white space and line feeds).
M> \n      a CR/LF
M> mail:   immediately followed (beginning of new line) by "mail:" -
M>         NB: No spaces!

Correct.

M> \s      One white space character

Correct.

M> (       (Start recording)
M> .*\@.*  any number of characters, a literal '@' sign any number of
M>         characters up to ...
M> )       (Stop recording)
M> \s      A white space character.

All correct. I think that it may have something to do with the QTs as
your first reg exp worked great. To me that suggests that it is in the
joining something goes wrong?

-- 
<greeting> Best regards </greeting>
<author> Peter Fjelsten </author>
<location> �rhus C, Denmark </location>



________________________________________________________
Current Ver: 1.60i
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com

Reply via email to