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?