From dce056d61bf7787cce8be19ed65122ea5dabe382 Mon Sep 17 00:00:00 2001 From: Khalil BOUZIDI Date: Sat, 25 Aug 2018 15:30:15 +0200 Subject: [PATCH] Add France oversea department phone codes --- lib/isMobilePhone.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/isMobilePhone.js b/lib/isMobilePhone.js index 0d53fbd40..064cb1659 100644 --- a/lib/isMobilePhone.js +++ b/lib/isMobilePhone.js @@ -50,7 +50,11 @@ var phones = { 'fa-IR': /^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/, 'fi-FI': /^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/, 'fo-FO': /^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/, - 'fr-FR': /^(\+?33|0)[67]\d{8}$/, + 'fr-FR': /^(\+?33|0|0033)[67]\d{8}$/, + 'fr-GF': /^(\+?594|0|00594)[67]\d{8}$/, + 'fr-GP': /^(\+?590|0|00590)[67]\d{8}$/, + 'fr-MQ': /^(\+?596|0|00596)[67]\d{8}$/, + 'fr-RE': /^(\+?262|0|00262)[67]\d{8}$/, 'he-IL': /^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}/, 'hu-HU': /^(\+?36)(20|30|70)\d{7}$/, 'id-ID': /^(\+?62|0)(0?8?\d\d\s?\d?)([\s?|\d]{7,12})$/,