in reply to Regex: find all trailing numerical digits in a string
As dragonchild points out above, if all you care about is
a final series of numbersthen all you need is /\d+$/. Add parentheses to capture that, and you have the answer above. Will that not work?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex: find all trailing numerical digits in a string
by Fletch (Bishop) on Dec 06, 2004 at 18:09 UTC | |
by osunderdog (Deacon) on Dec 06, 2004 at 19:49 UTC | |
by dragonchild (Archbishop) on Dec 06, 2004 at 19:53 UTC | |
by Fletch (Bishop) on Dec 06, 2004 at 20:36 UTC |