----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: bignbullish Message 4 in Discussion hi, Try this ... ^(HEIGHT)\s+(>|<|>=|<=|==)\s+([0-1]+)\s+(AND|OR)\s+(TIME)\s+(>|<|>=|<=|==)\s+([0-9]+[:][0-9]+[:][0-9]+)\s+(PM|AM)\s+(AND|OR)\s+(WIDTH)\s+(>|<|>=|<=|==)\s+([0-9]+)$ This does not take care of the time validation ... that in itself is another regex! And also, i have assumed that there is a space needed between each word ... so, \s+ .. if thats not the case, make it \s*. Change the options of >|<... and AND|OR... to suit ur needs. This requires that the entire string has no trailing or preceeding chars other than what is to be matched (Trim() it before matchimg). - Raghu ----------------------------------------------------------- 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]
