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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details 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
   Displaying page 1 of 1 pages; Items 1 to 1

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