From 756377c96e34811ff37377d73a9a2b3f889c645b Mon Sep 17 00:00:00 2001 From: Julian Tree Date: Thu, 2 Jun 2016 20:05:23 +0200 Subject: [PATCH] added Danish mobile phone checking local: da-DK --- src/lib/isMobilePhone.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/isMobilePhone.js b/src/lib/isMobilePhone.js index 8f480d9a9..8e3ae3ab2 100644 --- a/src/lib/isMobilePhone.js +++ b/src/lib/isMobilePhone.js @@ -6,6 +6,7 @@ const phones = { 'en-US': /^(\+?1)?[2-9]\d{2}[2-9](?!11)\d{6}$/, 'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/, 'de-DE': /^(\+?49[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/, + 'da-DK': /^(\+?45)?(\d{8})$/,, 'el-GR': /^(\+?30)?(69\d{8})$/, 'en-AU': /^(\+?61|0)4\d{8}$/, 'en-GB': /^(\+?44|0)7\d{9}$/,