View Single Post
Old 02-09-2020, 08:00 PM   #27
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Search and replace excluding the headers

I am trying to insert old nums in an ePub. For this I need to wrap a span around these characters like:

Code:
(\d+)
<span class="smcp" >\1</span>
However I need to exclude the headers, if not I have to correct all of them...
Could a function do it?

Last edited by roger64; 02-09-2020 at 08:17 PM.
roger64 is offline   Reply With Quote