EasyPattern Replace
Posted: Wed Feb 20, 2013 6:59 am
Am trying to use EasyPattern in a replace rule:
[b]have this in FIND rule:[/b]
[code]<a href="[capture(1+character)]" class="external" target="_blank">go to company website</a>[/code]
[b]have this in REPLACE part of rule:[/b]
[code]~~>URL: $1 |[/code]
[b]Rule producing this:[/b]
[code]<a href="http://www.sample.com |[/code]
[b]I want rule to produce this:[/b]
[code]~~>URL: http://www.sample.com |[/code]
Any suggestions on what I'm doing wrong?
[b]have this in FIND rule:[/b]
[code]<a href="[capture(1+character)]" class="external" target="_blank">go to company website</a>[/code]
[b]have this in REPLACE part of rule:[/b]
[code]~~>URL: $1 |[/code]
[b]Rule producing this:[/b]
[code]<a href="http://www.sample.com |[/code]
[b]I want rule to produce this:[/b]
[code]~~>URL: http://www.sample.com |[/code]
Any suggestions on what I'm doing wrong?