i'm trying to find an expression that matches a phone number in the format of (0[2,3,6,7,8,or 9]) XXXXXXXX where X is a digit, the space must be matched and so must the brackets
My current expression is:
Just remove the \b on either end, and it should work
This will match multiple phone numbers, not sure if that is what you want. If you want to make sure the entire string from start to finish is the full phone number, you can do this
This will match (02) 12345678, and won't work if there are any characters around the string.