View Single Post
Old 09-14-2014, 02:31 AM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Perhaps a regex tutorial can help you get more of an idea how to code them. I've always found this site to be extremely helpful. http://www.regular-expressions.info/

Code:
img src="index-\d+_\d+.jpg
will catch all the numbers.

\d represents a set of [0-9], or any number. The plus repeats it one or more times. \d+ represents any non-decimal number of arbitrary length.
eschwartz is offline   Reply With Quote