We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fdc788 commit 7570197Copy full SHA for 7570197
1 file changed
src/lib/isMobilePhone.js
@@ -67,6 +67,7 @@ const phones = {
67
'en-RW': /^(\+?250|0)?[7]\d{8}$/,
68
'en-SG': /^(\+65)?[3689]\d{7}$/,
69
'en-SL': /^(\+?232|0)\d{8}$/,
70
+ 'en-TO': /^(\+?676)?[0-9]{5,7}$/,
71
'en-TZ': /^(\+?255|0)?[67]\d{8}$/,
72
'en-UG': /^(\+?256|0)?[7]\d{8}$/,
73
'en-US': /^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,
0 commit comments