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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Telephone Number Validation (with Area Code)
Expression
^((\+)?(\d{2})[-])?(([\(])?((\d){3,5})([\)])?[-])|(\d{3,5})(\d{5,8}){1}?$
Description
Telephone Number Validation with Country code Optional but Mandatory Area Code.
Matches
+91-020-2344533,020-2344533.+91-(020)-2344533,-(020)-2344533
Non-Matches
5444474445,
Author Rating: Not yet rated. Amol Pande
Source Own
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

Title: Generic Phone number validation
Name: karunaker
Date: 11/6/2009 3:26:39 AM
Comment:
Please give me the expression to validate all the land line numbers (irrespective of country)


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