I am validating international phone number which may have + or 0 leading with country code and space and phone number after space for this tried reglar expression with '\s' but it is failing.Why it is failing?
For eg. +65 3333311
Tried with below regular expression
^([0|\+[0-9]{1,6}[\s]?)?([0-9]{8,10})$