ASP Regular Expression Pattern Help!

Hello ASP Gurus (i.e.Chris Hirst), I am really going crazy with this one, and noting seems to work.

Here is an example that works (one line):
re.Global = true
re.Multiline = true
re.Pattern = "<TAG1>(.*)?</TAG1>"

Here is what I need and it fails (3 lines):
re.Global = true
re.Multiline = true
re.Pattern = "<TAG1>(.*)?+\n\n+</TAG3>"

The </TAG3> is 2 lines under the opening <TAG1> and there are no spaces. I used "\n", "\n\r", etc, to compensate for the carraige returns with NO luck.

What am I missing??? Thanks for your help!

View full post on Tycoon Talk

, , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved