I'm trying to capture the following
'The digit 0 followed by 1-3 occurences of any digit and then a hyphen character followed by 5-7 occurences of any digit
So like 025-23456, 057-3456789, 086-458953 etc
Dim MyRegEx As New Regex("/^0\[0-9]{1,3}-\[0-9]{5,7}/")
Does not seem to be matching for me
'The digit 0 followed by 1-3 occurences of any digit and then a hyphen character followed by 5-7 occurences of any digit
So like 025-23456, 057-3456789, 086-458953 etc
Dim MyRegEx As New Regex("/^0\[0-9]{1,3}-\[0-9]{5,7}/")
Does not seem to be matching for me