View Single Post
Old 12-31-2009, 07:44 AM   #1
LARdT
The LARdT of E-Books
LARdT began at the beginning.
 
LARdT's Avatar
 
Posts: 106
Karma: 46
Join Date: Dec 2009
Device: HANLIN V3ext (Papyre 6.1)
RegEx REPLACEMENT: Help needed!

Does anyone now which is the notation for the replacement operator?

%1 and $1 do not seem to work


I want this:
Code:
<div class="s5" id="calibre_toc_2">
<p class="calibre2">I. PERDIDOS EN EL COSMOS</p>
turned into:
Code:
<div class="s5" id="calibre_toc_2">
<h3 class="calibre2">I. PERDIDOS EN EL COSMOS</h3>
With:
Code:
<div class="s5" id="calibre_toc_[0-9]">\n\s*<p class="calibre2">([\(\Ñ\).a-zA-Z0-9\-_\s\c]*)</p>
I can select all the ocurrences in the file but cannot do any replacement as far as the usual notation does not seem to work
LARdT is offline   Reply With Quote