View Single Post
Old 01-28-2019, 02:01 PM   #10
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 683
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Quote:
Originally Posted by DaleDe View Post
You could check our wiki Regular expressions

Dale
Thankyou.

Reading that got me thinking... could it be that it not matching is due to new line not being included in '.*' ?

Ok, I tried with <div lang="en">.*|\n*</div> which actually seems to find/match.

But when I add ( ) to be able to use \1, it doesn't match anymore.

Am I doing this wrong: <div lang="en">(.*|\n*)</div> ?
patrik is offline   Reply With Quote