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

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