brendalisalowe Posted July 29, 2005 Posted July 29, 2005 Is there a regular expression that will find any of these: 5.0 10.00 600.0 90.65 and so on.... Quote
mskeel Posted July 29, 2005 Posted July 29, 2005 [\d]+.[\d]+ This will find: one or more of any digit followed by a single . then one or more of any digit. If the [\d] doesn't work for some reason you can get the same effect wtih [0-9]. Also, I can reccomend this tool to help you with future regular expression questions. I was able to test and verify the one above in a matter of seconds with the regex coach. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.