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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Numbers
Expression
^([0-9]{1}[\d]{0,2}(\,[\d]{3})*(\,[\d]{0,2})?|[0-9]{1}[\d]{0,}(\,[\d]{0,2})?|0(\,[\d]{0,2})?|(\,[\d]{1,2})?)$
Description
Match any number , no characters, no empty sets, and accept zero.
Matches
0001 | 12345 |
Non-Matches
abcd | 012a
Author Rating: The rating for this expression. ronaldovn
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: hi
Name: manoj
Date: 7/1/2008 8:18:31 AM
Comment:
i need a express which accepts only integers and of limit 3 numbers it shuld be always 3 numbers.if please reply me to [email protected] Thanks, M.MANOJ


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