I have this regex format for a phone number sample 012-3456789.
malaysianPhoneRegex = "^[0]{1}[0-9]{2}[\\-]{1}[0-9]{7,8}$";
Now I want it to be able to accept 012-3456789 or 0123456789 or 012 345 6789 or 012 3456789
How do I do it, I am still learning on regex.