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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Number between 3-750 with one decimal (0 or 5)
Expression
^((750|7[0-4]\d|[1-6]\d\d|[1-9]\d|[3-9])|((7[0-4]\d|[1-6]\d\d|[1-9]\d|[3-9])\.{1}[0,5]{1}){1}|750.0)$
Description
Validate a number between 3 and 750 with one decimal that only is 0 or 5. Decimal separator is '.'
Matches
3.0 | 10.5 | 750.0 | 750
Non-Matches
2.0 | 750.5 | 2.5 | 23,5
Author Rating: Not yet rated. Jorge Gonzales
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