I have this phone regex, but I want it to accept spaces.
For example +57 52 5252255
should pass, but currently it's not passing.
also "+91 9 820 09 8200" should pass
so a space anywhere is acceptable
var phone_regex =/^\s*(?:\+?(\d{1,3}))?[- (]*(\d{3})[- )]*(\d{3})[- ]*(\d{4})(?: *[x/#]{1}(\d+))?\s*$/;