Title |
Test
Find
Pattern Title
|
Expression |
^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$ |
Description |
This is a pattern to search and verify that a decimal number ends with a 25, 50, 75, 0 or 00. It does match for a nothing after decimal also but I guess thats ok !! |
Matches |
0.25 | .75 | 123.50 |
Non-Matches |
.77 | 1.435 |
Author |
Rating:
narsi v
|
Source |
|
Your Rating |
|
Title: Does what I was looking for
Name: Jamon
Date: 11/2/2006 11:05:02 AM
Comment:
Was having issues on my own getting the pre-set values to work correctly. Modified this slightly to do what I needed it to! (Verify that entry is between 0 and 23.75 hours)
Title: Matches dot only too
Name: Jon
Date: 2/25/2005 1:57:37 PM
Comment:
This reg ex matches just the "dot" too. Do you have a fix for that?