Thread: Regex examples
View Single Post
Old 02-06-2022, 07:29 AM   #696
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
i dont use regex often enough to retain a thorough understanding. I know enough to write simple formulas for find replace within ebooks, but this one is too dense to follow, even via the previous link

I conceptualise it as need to find stuff which begins <a then then delete up to and including a matching /a>

when I blindly apply it in sigil, it has a 100% success rate in stripping all the <a from entire books automatically , so it may be catering for some tricky edge - cases ?
stumped is offline   Reply With Quote