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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find 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: The rating for this expression. Abraham
Source Paladium
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

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