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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^[0-9]*$
Description
Matches only numbers, in any length. No characters or punctuation will be matched.
Matches
2 | 99 | 15800
Non-Matches
1,2 | f9 | a9j
Author Rating: Not yet rated. John Sturgeon
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: How to limit this pattern ?
Name: Enio
Date: 8/21/2007 10:39:10 AM
Comment:
How can I adapt this pattern to limit the length ??


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