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 2
Title Test Details German/International Mobile Phone Number RegEx
Expression
^((01[0-9])\d{9}$|(1[0-9])\d{9}$|((00\d{5,6}|\+\d{4,6}|\+[(]\d{1,3}[)]\d{3}))(|[-\/])\d{8}$)
Description
I created my own RegEx for German/International, it includes Operators like + and / in the RegEx. The Prefix can be from 1 to 999. Be free to use it !
Matches
+(49)15732561545 | +4915732561545 | 004915732561545 | +(49)157/32561545 | +49157/32561545 | 0049157/32561545 | +(49)157-32561545 | +49157-32561545 | 0049157-32561545
Non-Matches
+[49]15732561545 | +-4915732561545 | 0049-15732561545 | +[49]157*32561545 | +49157_32561545 | 0049157_32561545 | +(49)157_*32561545 | +49_157-32561545 | 0049157//32561545
Author Rating: Not yet rated. Abraham
Title Test Details German/International Phone Number RegEx
Expression
^(\d{5}([-\/]|)\d{0,9}$|((00\d{5,6}|\+\d{4,6}|\+[(]\d{1,3}[)]))\d{1,4}(|[-\/])\d{1,7}$)
Description
I created my own RegEx for German/International, it includes Operators like + and / in the RegEx. The Prefix can be from 1 to 999. Be free to use it !
Matches
+(49)70425159535 | +4970425159535 | 004970425159535 | +(49)7042/5159535 | +497042/5159535 | 00497042/5159535 | +(49)7042-5159535 | +497042-5159535 | 00497042-5159535
Non-Matches
+[49]70455159535 | +-4970425159535 | 0049-70425159535 | +[49]7045*5159535 | +497045_5159535 | 00497045_5159535 | +(49)7045_*5159535 | +49_7045-5159535 | 00497045//5159535
Author Rating: Not yet rated. Abraham
   Displaying page 1 of 1 pages; Items 1 to 2

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