View Single Post
Old 12-17-2010, 04:18 PM   #2
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,720
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Replace [0-9][0-9][0-9] with \d+

Your current expression says you must have exactly three digits - either use [0-9]+ or \d+ to say you want one or more digits.

Also, you might need to escape that minus sign after index - use \- instead of -

i.e. your final regex is:
Code:
<A name=\d+></a><IMG src="index\-\d+_1.jpg"><br>Title <br>\d+ <br>
kiwidude is offline   Reply With Quote