Hi,
I need some RegExp help for a Flex 3 website. I'm trying to find this:
px;'</img>
And replace it with:
px;'></img>
I've tried:
var tester: String = " blah height: 0px;'<\img>blah";
var pattern1:RegExp = /px;'<\/img>/g;
tester = tester.replace(pattern1, "px;'></img>");
I think that the problem is with escaping the / in the img tag, but I'm not sure.
Any suggestions?
Thank you.
-Laxmidi