Re[2]: Regex guru advice needed

2000-09-27 Thread Arnie
Hi Peter, Tuesday, September 26, 2000, 4:02:31 PM, you wrote: PS> (?s)#.*~ PS> should do it. It does indeed. Thanks for the solution. Unfortunately as I earlier wrote Januk (elsewhere in this thread), I also need to be able to extract the text once found and place it into a reply. I can do

Re[2]: Regex guru advice needed

2000-09-27 Thread Arnie
Hi Januk, Monday, September 25, 2000, 7:00:46 PM, you wrote: JA> I can't help you with the text extraction part, but hopefully I can JA> shed some light on the pattern match. JA> I'm guessing you have some delimiters that you know are at the JA> beginning and end of the section of text you wa

Re[2]: Regex guru advice needed

2000-09-27 Thread Arnie
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