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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Decimal 18,2 valid 16 digits before decimal place
Expression
(?!^0*$)(?!^0*\.0*$)^\d{1,16}(\.\d{1,2})?$
Description
Decimal 18,2 valid 16 digits before decimal place i.e. upto 16 digit without decimal place is valid. With decimal place 16digit and 2 digits after decimal place is valid
Matches
1234567890123456.12
Non-Matches
12345678901234567.12
Author Rating: Not yet rated. Nilesh Katkar
Source http://regexlib.com/Search.aspx?k=&c=0&m=0&ps=20&p=2
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