Quote:
Originally Posted by DiapDealer
The short answer is no.
The long answer is also no--it just takes longer to read.
Needing regex to stay between certain tags, or to only include stuff between tags means you gone beyond what plain regex can do for you. You've moved into the realm of parsing and algorithms. The Function Mode of the Calibre Editor's Search and Replace feature comes to mind.
|
Thanks for both answers.
I was afraid I could miss quite a simple fix (it happened before). As it happens, there is none and so I'll keep it as it is. It's a specialized regex, intended mostly for bibliography purposes.