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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
((\(\d{3,4}\)|\d{3,4}-)\d{4,9}(-\d{1,5}|\d{0}))|(\d{4,12})
Description
telphone number check.
Matches
0833-1234567-8888 | (0833)1234567-8888 | 12345678
Non-Matches
ceocio | !@$@#$
Author Rating: The rating for this expression. Liu Wei
Source
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: number
Name: Anil
Date: 9/25/2009 7:13:10 AM
Comment:
thanks


Title: stdcode 5 digits
Name: rock
Date: 2/13/2007 3:50:37 AM
Comment:
its working fine for std code if 3,4 digits and phno upto 9 digits.. it'snot working for 040-2431234/24356545


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