Thread: RegEx
View Single Post
Old 12-12-2011, 03:11 PM   #8
el.motar
Junior Member
el.motar began at the beginning.
 
el.motar's Avatar
 
Posts: 6
Karma: 10
Join Date: Nov 2009
Location: Asturias
Device: Handlin
Quote:
Originally Posted by theducks View Post
OK there is more to it
\0 puts the entire original inside the replace
so pass 2 and 3 is needed to fix
<h3 class="ct"><p class="western3">CECILIA VOLANGES A SOFIA CARNAY EN EL CONVENTO DE URSULINAS DE . . .</p></h3>

BTW here is my search: <p class="western3">(([A-Z]+\s+){2,}.+)</p>
and Replace <h3 class="ct">\0</h3>
Hi theducks,

This is great, save me a lot of time with my book.
Worked a treat and is good to know about the "0".

Thank you

ATB
el.motar
el.motar is offline   Reply With Quote