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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Multiples of 0.5
Expression
(^\d{1,3}$)|(\d{1,3})\.?(\d{0,0}[0,5])
Description
This is used to match the values that are multiples of 0.5 upto single digit decimal number.
Matches
444.5 | 444 | 1 | 2 | 3 | 3.5
Non-Matches
444.6 | 444.09 | 444.999
Author Rating: Not yet rated. Siva Krishna
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: 1.25
Name: Jack
Date: 7/2/2007 9:53:16 AM
Comment:
Hello, 1.25 Returns True How can that be fixed? Thanks for your work, Jack


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