View Single Post
Old 09-13-2018, 06:14 PM   #7
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,080
Karma: 6030009
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Turtle91 View Post
Yes, I'm familiar with the manual method. In this particular instance I am trying to clean out all the <p> tags inside of a table....and there are over 200 tables If I can build it as part of a saved search group that would save a lot of highlighting and right-clicking.
I also have a set of 5 Saved Search Regexes I use to clean out Finereader table cruft:

Search: <td>\s+<p>([^<]+)</p>\s+</td>
Replace: <td>\1</td>

[...]

Search: <td colspan="([0-9]+)">\s+<p>([^<]+)</p>\s+</td>
Replace: <th colspan="\1">\2</th>

You could adapt something similar for your specific case.

Last edited by Tex2002ans; 09-13-2018 at 06:20 PM.
Tex2002ans is offline   Reply With Quote