View Single Post
Old 10-25-2013, 12:44 PM   #54
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by automa View Post
I just tried finding

Code:
(?i)<p([^>]+)>(.*?)Chapter(.*?)</p>
and it says no-matches found. How should it be tweaked?
The above regex will obviously only work if the initial <p> tag has at least one attribute. I.e. it won't find:

Code:
<p>Chapter 1</p>
BTW, posting a regular expression without the exact text it's supposed to match is rather pointless.
Doitsu is offline   Reply With Quote