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
Clear out calendar box in raddatepicker using javascript and postback
Error while building Offline address Book, Event 9331
Exchange 2010 DAG witness directory
PHP cannot connect to mySQL on LAMP server
Worksheets.print/printprev
iew cancel abend
Dell PE 2850, ESXi 4.0, 64bit guest VMs?
Complete uninstall of Sharepoint Services 3.0 from Windows 2008 Server
Data adapter Insert/Update
Ref Cur
Saving PDF report Oracle Report Builder on Client using WebUtility