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
How to get all the site names under a sitecollection
VMWare ESX 4 Update Manager and failing Remediation for certain patches
Roaming Profiles on Windows 2008 R2 Remote Desktop Services server not working correctly
Removing a tidserv backdoor rootkit on XP
delphi Run once
How to integrate two programs into one
CSS Tabbed Layout IE6 Question, Part 2
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
web forms: xForms or javascript forms: which one is the best?
Moved a Dolpin 7 website to a new server and I get an error message.