Can I get some help with a regular expression? I'm trying to express the following for a string
Up to 4 digits, but the first digit must be a 0 followed by a hyphen followed by up to 7 digits. So the following are examples of valid strings
02-456
0546-456789
Thanks
Up to 4 digits, but the first digit must be a 0 followed by a hyphen followed by up to 7 digits. So the following are examples of valid strings
02-456
0546-456789
Thanks