Microsoft
Software
Hardware
Network
Question : regular expression 1-100 and decimals
I need a reg exp for a number from 1 to 100 and also excepting two decimal places
1 = T
100 = T
50.5 = T
75.75 = T
101 = F
.034 = F
50.755 = F
Answer : regular expression 1-100 and decimals
If you are testing for the exact string, then you can add the start/end of line markers:
1:
^(?:100|\d{1,2}(?:\.\d{1,2})?)$
Random Solutions
MS SQL Stored Procedure miscounting number of characters
A disk read error occured. Press Ctrl-Alt-Delete to restart
Domain rename prior to consolidation
Css element not inherit
Windows 2008 - HP LaserJet 2600n drivers aren't working
C# - Can a partial class override a property's get method?
Export contact notes from an ACT! 6 database to an Excel or CSV file
How to handle button click without reloading page first
Sync a users AD password with a SQL table?
childWindow