Search and replace HTML code
Posted: Wed Mar 29, 2006 9:47 am
I'm trying out TextPipe Pro, i've heard that it works wonders, but it doesn't seem to be doing what I need it to, which in my mind is pretty simple.
I have a database of about 7,000 products that have lengthy HTML descriptions - I"m trying to strip them down because it's slowing down the entire site.
I have a list of the things that I either need to remove or replace with other code. I have exported the data as a csv file. TextPipe Pro can't find anything I put in though, with exact match, perl, everything. I'm sure I'm doing something wrong, just can't figure out what.
I think it's because what I'm searching for is too long and wraps onto the next line.
Here is an example:
Replace:
<!-- BEGIN JBN CODE -->
</td></tr>
<tr><td width="100%" class="jbn_description_text"><p align="justify"><font class="jbn_description_title">
with:
<p align="justify" font class="jbn_description_text"><font class="jbn_description_title">
This is just one example, some of the other things I need to strip out are even longer than that
Can TPP do this, or am I barking up the wrong tree?
Thanks!
I have a database of about 7,000 products that have lengthy HTML descriptions - I"m trying to strip them down because it's slowing down the entire site.
I have a list of the things that I either need to remove or replace with other code. I have exported the data as a csv file. TextPipe Pro can't find anything I put in though, with exact match, perl, everything. I'm sure I'm doing something wrong, just can't figure out what.
I think it's because what I'm searching for is too long and wraps onto the next line.
Here is an example:
Replace:
<!-- BEGIN JBN CODE -->
</td></tr>
<tr><td width="100%" class="jbn_description_text"><p align="justify"><font class="jbn_description_title">
with:
<p align="justify" font class="jbn_description_text"><font class="jbn_description_title">
This is just one example, some of the other things I need to strip out are even longer than that
Can TPP do this, or am I barking up the wrong tree?
Thanks!