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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Character position before and after decimal
Expression
^\d{1,3}\.\d{1,4}$
Description
Allows for 3 characters max before the decimal and 4 characters max after the decimal
Matches
1.1,111.222,1.23
Non-Matches
1,1111.1,2222.22,3.33333
Author Rating: Not yet rated. Keith
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

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