View Single Post
Old 04-13-2022, 06:43 PM   #7
celiapgt
EBook-obsessive gal
celiapgt began at the beginning.
 
celiapgt's Avatar
 
Posts: 47
Karma: 10
Join Date: Mar 2011
Location: La ciudad de la eterna primavera
Device: Kobo Clara HD
What I mean is how to use the regex
Code:
replace
function.


With a typical example, I can deduce how to use it. For example, I have this code in my epub:


Code:
  <div xml:lang="es-MX">
    <div>
      <h3 class="fecha">3 de enero</h3>
      <p class="capitulo">Muéstrate implacable con las cosas que no importan</p>
    </div>
  </div>



And I want to remove the divs and substitute them with a
Code:
blockquote
. How can I achieve this with your plugin/regex function?
celiapgt is offline   Reply With Quote