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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Version information
Expression
^(0\.|([1-9]([0-9]+)?)\.){3}(0|([1-9]([0-9]+)?)){1}$
Description
A simple regex to check a version information string of the style 1.0.0.0
Matches
1.2.3.4
Non-Matches
1.2.3 | 01.02.03.04 | 1.2.3.4Beta
Author Rating: Not yet rated. Frank Pottle
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: Perfect
Name: Joe Turner
Date: 9/26/2011 10:49:54 AM
Comment:
Does exactly what it says on the tin!


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