Thread: RegEx
View Single Post
Old 12-12-2011, 01:43 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by el.motar View Post
Hi theducks,

Thanks for your reply

This is the actual paragraph.

<p class="western3">CECILIA VOLANGES A SOFIA CARNAY EN EL CONVENTO DE URSULINAS DE . . .</p>

I don remember the replacement string, as I have tried quite a few.

Thanks.
Minimal matching ticked.

<p class="western3">(.+)</p>


<h3 class="western3">\1</h3>

I used H3, but you can use any.
class="western3" is optional, usually I want some type of class as ADE does not center headers by default

The above only is safe if western3 is used only on headers OR you step though the document manually Find Next, Replace or Find Next (to skip)
theducks is offline   Reply With Quote