Removing IMG tag

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

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

Removing IMG tag

Post by dimaboyee »

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: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Removing IMG tag

Post by DataMystic Support »

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?
Post Reply