Any idea if I am doing somehting wrong? The expression works great in Regex Coach, but once in ASP.NET 2.0, it freezes on the myRegex.Match command...
Dim oM As Match Dim myRegex As Regex
myRegex = New Regex("(?m-si)(?><w:p.+(\r?\n(?!<w:p>).*)*INTRODUCTION)(?s).+?</w:p>")
oM = myRegex.Match(strReport) strReport = Replace(strReport, oM.Value, "Blah") On 12/31/06, Thomas Wölk lists@wir-vermessen.de wrote:
- Jordan Marton jordan.marton@gmail.com writes:
Here is my current attempt: <w:p>.*(?=<w:t>).*(?=INTRODUCTION).*(?=</w:t>).*?</w:p>
Just a fleeting thought...
(?ims).*\n(<w:p>.*?(?=[INTRODUCTION]).*?</w:p>)
-- Thomas.
regex-coach site list regex-coach@common-lisp.net http://common-lisp.net/mailman/listinfo/regex-coach