----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Ravi_Kumar_Bits Message 4 in Discussion Hi Try this , but this will work for greater than or equal to zero but less than 10 and with 2 decimals. ValidationExpression="[0]?[0-9]([.][0-9][0-9]?)?" Ravi Kumar . P Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "SijuInfinite" <[EMAIL PROTECTED]> 06/09/2004 10:08 AM Please respond to "BDOTNET" <[EMAIL PROTECTED]> To "BDOTNET" <[EMAIL PROTECTED]> cc Subject Re: Regular expression for accepting decimal values New Message on BDOTNET Regular expression for accepting decimal values Reply Reply to Sender Recommend Message 3 in Discussion From: SijuInfinite Thank you jigs.It is working fine for decimal values.But I want to accept whole numbers as well as decimal.How we will write regular expression for that? Siju.C ----- Original Message ----- From: Jigs To: BDOTNET Sent: Wednesday, June 09, 2004 8:37 AM Subject: Re: Regular expression for accepting decimal values New Message on BDOTNET Regular expression for accepting decimal values Reply Reply to Sender Recommend Message 2 in Discussion From: Jigs ^([1-9]$|(\d?\.\d{1,2})$) Greater than zero and less than ten + Any fractional values entered must be limited to zero, one or two decimals for more understanding of REGEx you should read this page http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconregularexpressionexamples.asp Regards, Jignesh Desai View other groups in this category. View other groups in this category. Also on MSN: Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. Need help? If you've forgotten your password, please go to Passport Member Services. For other questions or feedback, go to our Contact Us page. If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. Remove my e-mail address from BDOTNET. ForwardSourceID:NT0000BBDE ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
