Extracting text from two specific html tags

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply

Extracting text from two specific html tags

Post by Guest » Tue Oct 04, 2005 8:09 am

At the moment I'm evaluating Textpipe Pro, I would like to use to extract text between two html tags


My name is <b>John Lemon</b> and i like <b>fishing and hunting</b>

Should return

John Lemon
fishing and hunting


My name is <a href="http://www.johnlemon.com">John Lemon</a> and I like <a href="http://www.fishing.com">fishing and hunting</a>

Should return:

John Lemon
fishing and hunting

I trying to do it with "Extract matches" filter but i have yet to find a regular expression that match :(
Anyone can help me ?

Thank you

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

Post by DataMystic Support » Tue Oct 04, 2005 10:43 am

Try an EasyPattern:

My name is <b>[ capture(1+chars)]</b> and i like <b>>[ capture(1+chars)]</b>

Replace with:


Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

Post Reply