EasyPattern Replace

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Posts: 3
Joined: Thu Mar 15, 2007 10:19 pm

EasyPattern Replace

Postby JimC » 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?

User avatar
DataMystic Support
Site Admin
Posts: 2139
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Re: EasyPattern Replace

Postby DataMystic Support » Tue Mar 05, 2013 8:09 am

What is the source text? I suggest it does not match your pattern of

Code: Select all

<a href="[capture(1+character)]" class="external" target="_blank">go to company website</a>

Everything else looks fine

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 6 guests