RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 3
Title Test Details Dutch phone number in E.164 internation format, route + length validation
Expression
^\+31(?:(?#AREA2D)(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|7\d)[2-8]\d{6}|(?#AREA3D)(?:11[134578]|16[124-8]|17[24]|18[0-467]|22[2346-9]|25[125]|29[479]|31[3-8]|32[01]|34[1-8]|41[12368]|47[58]|48[15-8]|49[23579]|51[1-9]|52[1-5789]|54[13-8]|56[126]|57[0-3578]|59[1-9])[2-8]\d{5}|(?#OTHER10D)(?:6[1-68]|8[4578]|91)\d{7}|(?#OTHER8D)(?:800(?:0[013-8]|1\d|2[01]|4[1369]|[5-9][01])|90[069](?:0[0-35-9]|1[345789]|8[013468]|9[235-8]))\d{2}|(?#OTHER11D)(?:800(?:0[29]|[26-9][2-9]|3\d|4[24578])|90[069](?:04|1[0126]|[2-7]\d|8[2579]|9[0149]))\d{5})$
Description
Intended to validate html5 form input of type=tel in internation E.164 format, to validate Dutch phone numbers for valid routes and length. Geographic (open number plan: subscriber number cannot start with 0,1 or 9), and non-geographic (closed number plan), 0800 and 090x numbers including 8/11 digit length checking. Not implemented are 14xxx style government numbers. This regex can be used in PBXes as part of a larger dial plan string to allow immediate dialing as soon as the correct number of digits has been entered. Replace \+ with your international dialing prefix.
Matches
+31202345678 +319004654329 +318000403
Non-Matches
+31201234567 +31209876543 +3120234567 +31140123456
Author Rating: Not yet rated. ProBackup.nl
Title Test Details Belgium phone number in E.164 internation format, route + length validation
Expression
^\+32(?#8DIGIT)(?:1[0-69]|[23][2-8]|4[236-9]|5\d|6[01345789]|7[01689]|8[0-79]|9[012])\d{6}$
Description
Intended to validate html5 form input of type=tel in internation E.164 format, to validate Belgian phone numbers for valid routes and length. As Belgium has a closed number plan the regex is relatively short and in theory any subscribing number is possible, even ones starting with 0, 1 or 9 as the area code needs to be dialed always. This regex can be used in PBXes as part of a larger dial plan string to allow immediate dialing as soon as the correct number of digits has been entered. Replace \+ with your international dialing prefix.
Matches
+3290123456 +3292238853 +3247547372 +3292324648
Non-Matches
+32475473727 +324754737 +3201123456 +3299654321
Author Rating: The rating for this expression. ProBackup.nl
Title Test Details German phone number in E.164 internation format, route + length validation
Expression
\+49(?:(?#GEO-A2)(?:30|40|69|89)(?!11)[1-9]\d{3,7}|(?#GEO-A3)(?:20[12389]|21[124]|22[18]|23[14]|2[4-9]1|3[35-9][15]|34[015]|4[2-9]1|5[1-9]1|6[1-8]1|7[1-9]1|8[1-8]1|906|9[1-9]1)(?!11)[1-9]\d{2,6}|(?#GEO-A4)(?:204[135]|205[1-468]|206[456]|210[234]|2129|213[1237]|215[0-46-9]|216[1-6]|217[1345]|218[123]|219[12356]|22[023][2-8]|224[1-8]|225[1-7]|226[1-9]|227[1-5]|229[1-7]|230[1-9]|232[3457]|233\d|235[1-5789]|236\d|23[78][1-5789]|239[1-5]|24[02][1-9]|243[1-6]|244[013-9]|245[1-6]|246[1-5]|247[1-4]|248[2456]|250[124-9]|252\d|253[3-68]|254[1235-8]|25[56][1-8]|257[1-5]|258[1-8]|259\d|260[1-8]|262[0-8]|263\d|264[1-7]|265[1-7]|266[1-467]|267[1-8]|268\d|269[1-7]|272[1-5]|273[2-9]|274[1-57]|275[0-589]|276[1-4]|277\d|280[1-4]|282[1-8]|283[1-9]|284[1-5]|285\d|286[1-7]|287[1-4]|290[2-5]|29[2-5][1-578]|296[1-4]|297[1-57]|298[1-5]|299[1-4]|330[1-467]|332[12789]|333[124578]|33[46][1246]|337[125789]|338[1256]|339[145]|342[135]|34[34][13578]|346[1246]|347[1356]|349[1346]|350[14]|352[123589]|353[1357]|354[1246]|356[1-4]|357[13468]|358[13568]|359[1246]|360[1356]|362[1-489]|363[12456]|364[1347]|366[13]|367[12579]|368[12356]|369[135]|372[1-7]|373[1357]|374[145]|376[1-5]|377[1-4]|3821|383[1468]|384[1347]|386[0135-9]|387[1467]|388[136]|390[12479]|392[1358]|393[1357]|394[134679]|396[1-9]|397[136]|398[147]|399[1468]|410[1-9]|412\d|413[1-9]|414[0-4689]|415[1-689]|41[67][1-9]|418\d|419[1-5]|420[2-9]|422[1-4]|42[34]\d|425[1-8]|426\d|427[1-7]|428[1-9]|429[2-8]|430[23578]|432[0-46-9]|433\d|434[02346-9]|435[1-8]|436[1-7]|437[12]|438[1-5]|439[234]|440[1-9]|442[12356]|443[1-5]|444[1-7]|445[1-68]|446[1-9]|447[1-5789]|448\d|449[1-9]|450[1-689]|452[1-9]|453[1-79]|454[1-7]|455\d|456[1-4]|460[2-9]|462[1-7]|463\d|464[1-46]|4651|466[1-8]|46[78][1-4]|470[2-8]|472[1-5]|473[1-7]|474\d|475[1-8]|476[1-9]|477\d|479[1-6]|480[2-6]|482[1-9]|483[02-9]|484[1-9]|485[1-9]|486[1-5]|487[1-7]|488[1-5]|489[23]|490[23]|492\d|493[1-689]|494[1-8]|495\d|496[1-8]|497[1-7]|502[1-8]|503[1-7]|504[1-5]|505[1-6]|506[02-9]|507[1-4]|508[2-6]|510[123589]|512[136-9]|513[0125-9]|514[1-9]|515[1-9]|516[1-8]|517[1-7]|518[1-7]|519\d|520[1-9]|522[1-68]|523[1-8]|524[124-8]|525[0-5789]|526[1-6]|527[1-8]|528[1-6]|529[2-5]|53[02]\d|533[1-79]|534[14-7]|53[56][1-8]|537[1-9]|538[1-4]|540[1-79]|54[235][1-9]|54[46][1-8]|547[1-6]|54[89][1-5]|550[2-9]|552[0-5789]|55[345][1-6]|556[1-5]|557[1-4]|558[2-6]|559[2-4]|560[1-9]|56[23][1-6]|564[1-8]|565\d|566[1-5]|567[1-7]|56[89][1-6]|570[2-7]|57[24][1-6]|573[1-4]|575[1-5]|576[13-9]|577[1-7]|580[2-8]|582\d|583[1-9]|584[0-689]|585[0-5789]|586[1-5]|587[2-5]|588[23]|590[1-9]|592[1-6]|593[1-79]|594[1-8]|595[1-7]|596[1-6]|597[135-8]|600[23478]|602[0-46-9]|603[1-69]|604[1-9]|605\d|606[12368]|607[1348]|608[1-7]|609[2-6]|610[1-9]|612[02346-9]|613[0-689]|614[24-7]|615[01245789]|616[1-7]|617[1-5]|618[1-8]|619[02568]|62[04][1-79]|622[0-46-9]|62[36][1-9]|62[59][1-8]|627[12456]|628[1-7]|63[09][1-8]|63[235][1-9]|634\d|636[1-4]|637[1-5]|638[1-7]|64[02]\d|643[0-689]|644[0-79]|645[1-8]|646[124-8]|647[1-9]|648[2-6]|650\d|652[2-7]|653[1-6]|654[1-5]|655\d|656[1-9]|657[1-58]|658\d|659[1-79]|66[25]\d|66[36][013-9]|66[49][1-8]|667[02-8]|668[1-4]|670[1346-9]|67[25][1-8]|67[34][1-7]|67[67][1-6]|678[1-9]|680[2-69]|682[14-7]|68[35][1-8]|684[1-489]|686[14-9]|687[1-6]|688[178]|689[3478]|70[245][1-6]|703[1-4]|706[236]|707[123]|708[1-5]|712[1-9]|713[0-689]|714[1-8]|715[0-46-9]|71[67][1-6]|718[1-4]|719[1-5]|720[2-4]|722\d|72[37][1-7]|724[02-9]|72[56]\d|730[02-9]|73[28][1-9]|73[36][1-7]|734[03-8]|735[1-8]|737[13-6]|739[1-5]|740[234]|742[02-9]|743[1-6]|744\d|745[1-9]|746[1-7]|747[1-8]|748[2-6]|750[2-6]|753[0245789]|754[1-6]|755[1-8]|756[1-9]|757[0-9|758[1-7]|7602|762\d|76[347][1-6]|765[1-7]|766\d|768[1-5]|770[2-9]|772\d|773[1-689]|774[1-8]|775[1345]|776[1-5]|777[13457]|780[2-8]|782[1-6]|783[1-9]|78[45][1-4]|790[3-7]|79[34]\d|795[0-5789]|79[67][1-7]|802\d|803[1-689]|804[12356]|80[56][1-7]|80[78][1-6]|809[1-5]|810[2-6]|812[1-4]|813[13-9]|814[1-6]|815[12378]|816[15-8]|817[016-9]|819[1-6]|820[2-8]|82[29][1-6]|823[
Description
Intended to validate html5 form input of type=tel in internation E.164 format, to validate German phone numbers for valid routes and length. As Germany has an open number plan and area codes that are 2, 3, 4 or 5 digits long and emergency services 19222 that can be dialed from outside of the area and number blocks where the owner can choose to have shorter numbers for number queries this regex is enormous in length. This regex can be used in PBXes as part of a larger dial plan string to allow immediate dialing as soon as the correct number of digits has been entered. Replace \+ with your international dialing prefix.
Matches
+4999654321 +498004654345 +493084590833
Non-Matches
+491123456 +4990123456 +49321234560 +49204688071
Author Rating: The rating for this expression. ProBackup.nl
   Displaying page 1 of 1 pages; Items 1 to 3

Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials