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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find version number validation
Expression
^((\d)?(\d{1})(\.{1})(\d)?(\d{1})){1}$
Description
This simple regular expression comes handy when we need to validate a version number of a document. The version numbers can have decimals upto two decimal places
Matches
2.22,99.99
Non-Matches
999.99,9.999,ab.cd
Author Rating: Not yet rated. venugopal
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-2018, RegexAdvice.com | ASP.NET Tutorials