Page 1 of 1

Removing IMG tag

Posted: Thu Dec 11, 2008 2:00 am
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>

Re: Removing IMG tag

Posted: Thu Dec 11, 2008 9:50 pm
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?