ASP & VBscript RegEx Problem
Posted on 2006-05-19
I know how to use RegEx pretty well, but this problem is mind boggling!
I am forced to use VBScript for hosting the ASP page, and VBscript RegEx does not support lookbehind!
I need to find a text string that is NOT directly after an id="
This means if I'm looking for ABC, then it would not find it in - test id="ABC"
But it would find it in - test ABC
With lookbehind this is cake, but I just can't find a way around it for VBScript!
I tried using word boundaries, lookforwards for the exact match, none of it works cause it just fails, consumes no characters, and goes onto the next character. So eventually it gets after the " mark thinking nothings wrong!
Anyone got any tips on how to simulate lookbehind? =(