Page 1 of 1

Removing tags

Posted: Tue Jul 12, 2005 6:39 am
by Guest
Hi, I'm a first-time user of Word Pipe and I am looking for some advice on how to make replacements in some files.

Right now I'm trying to seek out some unnecessary HTML tags and remove them, without disturbing the code inbetween the start and end tags.

It looks like this:
<h3><font color="#00666"> xxxxxx</font></h3>
and it needs to look like this
<h3>xxxxxx</h3>

The main problem I'm having is finding out how to use wildcards in my searches. I can't find an option that allows me to use wild cards, nor can I find what symbol I should use to inpute wildcards.
Even were I to find out how to use wildcards, would wordpipe keep the text between each tag?

Thanks

Posted: Tue Jul 19, 2005 12:57 pm
by DataMystic Support
You shouldn't use WordPipe to edit HTML files, you should use TextPipe instead.

Use an EasyPattern search/replace, with search text of:
<h3><font color="#00666">[ capture(1+ chars) ]</font></h3>
Replace with
<h3>$1</h3>

Posted: Sat Jul 23, 2005 3:23 am
by Guest
Thanks!