After 2 nights of almost getting it I realized that Flash’s RegExp doesn’t support lookbehinds.
So I’m wondering if anyone could help point me in the right direction that is away from this wall I’m currently facing.
Here are the 3 scenarios:
- http://example.com
- <a href=“http://example.com”>http://example.com</a>
- <br><br>http://example.com<br><br>
Basically what I want to happen is to ignore scenario #2. I know the solution, but I can’t seem to nail it. All that needs to happen is to select the http (and everything after that) as long as it’s not preceded by a [COLOR=Red]">[/COLOR] or [COLOR=Red]="[/COLOR], but since I don’t know a way for RegExp to look backwards, I’m sort of at a loss.
Here’s hoping that someone has run into this issue before