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
Locking down Exchange in SBS 2003
Open Source SMDR for use with Avaya IP Office v6
Close a connection to Ajax
can't find Printer Setup Utility in Mac OS X 10.5.8
finding an item in a DataTable
Exchange 2007 Incremental backup
Include page headers when printing HTML pages with different headers on some of each page
Disable IPv6 on windows 2008
VMware Workstation 7.1 Won't Install
urgent: how to change the nic speed from 100 half to 1000full in Solaris10