View Single Post
Old 07-21-2019, 02:58 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,988
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by lumpynose View Post
My first thought was to use a regular expression to change the 3 characters div to p so that you retain the ids for the linking and the class for any formatting. Make the regular expression match the div at the beginning and the "Para" at the end. But then I can't see how to change what was the matching div to a p since there are likely other non-Para divs. Maybe Diap's thing can do what I'm thinking of.
Search for...
<div id="(.*)" class="Para">

Replace with...
<p id="\1">
JSWolf is offline   Reply With Quote