in reply to Simple regex with numbers
Try this:
/Results <b>[\d,]+ thru [\d,]<\/b> of\s+([\d,]+)/Or, if this number will always be at the end of the line (save maybe for whitespace):
/([\d,]+)\s*$/Updated: per Skeeve's correction, below, I escaped the / in </b>. (And not only didn't I downvote it, I upvoted it. Corrections: good.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Simple regex with numbers
by Skeeve (Parson) on Sep 29, 2004 at 20:29 UTC | |
|
Re^2: Simple regex with numbers
by Anonymous Monk on Sep 29, 2004 at 20:40 UTC | |
by JediWizard (Deacon) on Sep 29, 2004 at 20:46 UTC | |
by Jasper (Chaplain) on Sep 30, 2004 at 08:54 UTC | |
by Skeeve (Parson) on Sep 29, 2004 at 21:27 UTC |