Hello all,


I am writing a parser and I need to match a <table> that contains a
certain string (in CFMX). Does anybody know how to describe this in one
regexp?
I thought of using non-greedy matches, but that doesn't do what I want


REReplaceNoCase(str,"<table.+?string.+?</table>","")


replaced everything from the first table tag until the one following the
string (as it should).
I need to replace everything from the table tag preceeding the string
until the one following the string.


PS. I have solutions involving multiple (re)finds, but I was wondering
if it could be done in one line


Pascal Peters
Certified ColdFusion MX Advanced Developer
Macromedia Certified Instructor
LR Technologies
Av. E. De Mot, 19
1000 BRUSSELS, BELGIUM
Tel: +32 2 639 68 70
Fax: +32 2 639 68 99
Email: [EMAIL PROTECTED]
Web: www.lrt.be
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to