RE: validation - mask help

2004-10-01 Thread Peng, Meimin
, 2004 3:26 PM To: [EMAIL PROTECTED] Subject: Re: validation - mask help Peng, Meimin wrote: > Thanks. > > I just make it work by doing this. > > ^[0-9a-zA-Z-\-]*$ > > I couldn't find info on any strut books. But, here is the original > validation package. Cheers! > >

Re: validation - mask help

2004-10-01 Thread Jeff Beal
Peng, Meimin wrote: Thanks. I just make it work by doing this. ^[0-9a-zA-Z-\-]*$ I couldn't find info on any strut books. But, here is the original validation package. Cheers! http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html That will allow any number of '-' signs to be valid: '--

RE: validation - mask help

2004-10-01 Thread Peng, Meimin
D] On Behalf Of Jeff Beal Sent: Friday, October 01, 2004 1:25 PM To: [EMAIL PROTECTED] Subject: Re: validation - mask help Peng, Meimin wrote: > Hi, > Please help. > I want to use strut's validation to validate a form field called number. > This field allows to input text, numbe

Re: validation - mask help

2004-10-01 Thread Jeff Beal
Peng, Meimin wrote: Hi, Please help. I want to use strut's validation to validate a form field called number. This field allows to input text, number and -. The code bellows right now is only to validate text and number without space. How can I make it work with '-'? Thanks.

RE: OT - RE: validation - mask help

2004-10-01 Thread Peng, Meimin
Yeah. I know. But, I can't do anything about it. It attaches to all my outgoing emails automatically. -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 12:54 PM To: Struts Users Mailing List Subject: OT - RE: validation - mask

OT - RE: validation - mask help

2004-10-01 Thread Brantley Hobbs
> CONFIDENTIALITY NOTICE: The information in this e-mail is privileged and > confidential. Any use, copying or dissemination of any portion of this > e-mail by or to anyone other than the intended recipient(s) is > unauthorized. > If you have received this e-mail in error, please reply to sender

RE: Validation Mask help please

2004-06-24 Thread Jim Kennedy
When you only want one (1) of something follow with a question mark "?" i.e. [A-Za-z]? OK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 3:34 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please try somethi

RE: Validation Mask help please

2004-06-24 Thread RDoss
to end -Ram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 2:39 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please What is the $ for? I know the ^ is to start at the beginning. -Original Message- From: [EMAIL

RE: Validation Mask help please

2004-06-24 Thread Mick . Knutson
What is the $ for? I know the ^ is to start at the beginning. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 12:34 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please try something like [a-zA-Z][0-9]{4}-\d{3} -Ram

RE: Validation Mask help please

2004-06-24 Thread Mick . Knutson
Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 12:39 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please http://www.weitz.de/regex-coach/ might be useful -Ram -Original Message- From: [EMAIL PROTECTED

RE: Validation Mask help please

2004-06-24 Thread RDoss
http://www.weitz.de/regex-coach/ might be useful -Ram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 2:34 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please try something like [a-zA-Z][0-9]{4}-\d{3} -Ram

RE: Validation Mask help please

2004-06-24 Thread RDoss
try something like [a-zA-Z][0-9]{4}-\d{3} -Ram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 2:06 PM To: [EMAIL PROTECTED] Subject: Validation Mask help please I have the following field validation: mask ^[A-Za-z]\d{4}-\d{3

RE: Validation Mask help please

2004-06-24 Thread Saul Q Yuan
Off the top of my head, you may need to escape the hyphen, ie. \- Saul > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 3:06 PM > To: [EMAIL PROTECTED] > Subject: Validation Mask help please > > > I have the following field val