Hello,
I want to create an new website with Banshee.
In /libraries/security.php is a function: valid_phonenumber
return preg_match("/^(\+31|0)([0-9]{9}|6-?[0-9]{8}|[0-9]{2}-?[0-9]{7}|[0-9]{3}-?[0-9]{6})$/", $phonenr) === 1;
This is the Netherland format.
What is a fine preg_match for an international format?
Is there anybody with a good idea?
Thanks
Heiko
Hiawatha version: 9.7 beta
Operating System: OpenBSD 5.6 current