Removing IMG tag

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

dimaboyee
Posts: 1
Joined: Thu Dec 11, 2008 1:56 am

Removing IMG tag

Postby dimaboyee » Thu Dec 11, 2008 2:00 am

Please Help
I'm trying to edit my HTML tables and turn them into csv, I'm having a
problem taking out the <img src="/images/products/*.jpg"> tag and just turning
it the file name like *.jpg with out the <img> tag around it.

For example

<td class="picture"><img src="/images/products/dur_07_db201627.jpg"></td>

gotta turn into this

<td class="picture">dur_07_db201627.jpg</td>

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

Re: Removing IMG tag

Postby DataMystic Support » Thu Dec 11, 2008 9:50 pm

See our emailed reply Dmitry,

Use a perl pattern of
<img src="(.*)">

Replace with (Extract option checked)
$1\r\n

Also - try using v8.2.1 - available now from http://www.datamystic.com/textpipepro2.exe. Where did you get v7.6.1?
Regards,

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 2 guests