regexp help
I am no good with regular expressions. Could someone give me a regular expression that grabs (matches) sequences that include a hyphen and a number. I want to match like this:
text-23-more-text-456
hyphen and number and not just hyphens. I got the following:
-[\d]*
but that matches all hyphens and numbers. I just want hyphens followed by any number of numbers. Help!
Last edited by cliff76; 02-15-2005 at 01:34 PM.
|