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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^(?=.*[1-9].*$)\d{0,7}(?:\.\d{0,9})?$
Description
Allows up to seven digits to the left and up to nine digits to the right of an optional decimal place. Leading zeros on the left of the decimal are accepted. Only positive values are accepted.
Matches
1 | 0123456.123456789 | .123456789
Non-Matches
.0123456789 | 0.0 | -1
Author Rating: Not yet rated. Bri Gipson
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: Reg : Need Expression
Name: Indu
Date: 10/23/2012 10:31:46 AM
Comment:
can i get expression for Matches : 1.01 | > 1.01 Non Matches : < 1.01


Title: Reg : Need Expression
Name: Indu
Date: 10/23/2012 10:26:57 AM
Comment:
can i get expression for Matches : 1.01 | > 1.01 Non Matches : < 1.01


Title: Exellent!
Name: Max Trebor
Date: 9/11/2008 12:44:14 PM
Comment:
Your RegEx is just that i need; i was made with Javascript but is more complicated. Thank you Regards


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