View Single Post
Old 01-18-2014, 01:19 PM   #4
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
@kovid

Thanks for the reference, I couldn't see what I was looking for at first in the help files.

@theducks

Thank you for pointing me to the appropriate non-greedy qualifier. I've now been able to strip out about 1500 pointless <span>...</span> elements from a book.

I did know about the /d+ notation but tend to use /d{1,} out of habit from a different regex variant I used in LibreOffice work.

BobC
BobC is offline   Reply With Quote