Hi Peter,

A>> I need to be able to extract text that spans multiple lines.

A>> i.e.

A>>    #This is line 1
A>>     This is line 2
A>>     This is line 3~

PS> There are 'internal options' for RegExp's. In your case

PS> (?s)#.*~

PS> should do it.

Elsewhere is this thread is my thanks for your solution and also a
comment on how it doesn't work with %REGEXPTEXT to extract the match
and place it into a reply.

This was wrong on my part, it works perfectly.  While trying to see
what kind of error messages I could generate with it, I noticed that I
transposed my beginning and end markers.

Thanks for the excellent advice.

-- 
Best regards,
 Arnie    



-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

You are subscribed as : archive@jab.org


Reply via email to