in reply to Re^4: REGEX omit dashes - simple but ...
in thread REGEX omit dashes - simple but ...
You forgot to add your capture group of (\d*). However, that won't really help, as that won't capture your - (dashes), or any numbers after it.
Why don't you show us a few lines of example data you're trying to match?
Also, Use of uninitialized... is not an error, it's a warning. It's most likely saying that $1 is uninitialized (because you didn't capture anything).
|
|---|