I used this before for checking a number with up to 2 decimal places...
 
^\d+[.]{0,1}\d{0,2}$
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Andrew Scott
Sent: Wednesday, 4 May 2005 10:20 AM
To: CFAussie Mailing List
Subject: [cfaussie] Reg _expression_ Help

I have this regular _expression_ which makes sure that the input is all numbers, but I need to make it leave the decimal place and I am having a day of fuzzy logic on this.
 
Anyone care to tell me what it should be.
 
ReReplace(Price , "[^0-9]", "", "ALL")


Regards
Andrew Scott
Technical Consultant

NuSphere Pty Ltd
Level 2/33 Bank Street
South Melbourne, Victoria, 3205

Phone: 03 9686 0485  -  Fax: 03 9699 7976  

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Have a go - take the fit4fun challenge in your office and conquer Queensland!
See the website for more info
http://www.fit4fun.com.au/Challenge/challenge_default.htm

__________________________________________________________
 
 
Jason J. Troughton
IT Specialist
Royal Children's Hospital Foundation
Ph 07 3852 1199
Email [EMAIL PROTECTED]
Website
www.workingwonders.com.au
 
 
IMPORTANT- The contents of this email and its attachments are confidential and intended only for the individual or entity named above. Any unauthorised use of the contents is expressly prohibited. If you receive this email in error, please contact us, then delete the email.
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to