Re: Trim for regex validator is not working

2009-05-18 Thread Siddiq Syed
--- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Trim-for-regex-validator-is-not-working-tp2352843

Re: Trim for regex validator is not working

2009-05-13 Thread Dave Newton
Siddiq Syed wrote: I am searching for the regular expression, which ignore white spaces but no sucess so far. Any idea ? ... According to [1] (which was the top hit when I searched for "java +regular expression), "\s" matches any whitespace character. "*" means 0 or more occurrences. So \s*

Re: Trim for regex validator is not working

2009-05-13 Thread Siddiq Syed
------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Trim-for-regex-validator-is-not-working-tp23528434p23529634.html Sent from the Str

Re: Trim for regex validator is not working

2009-05-13 Thread Dave Newton
Siddiq Syed wrote: Do anybody have an idea why this is not working. There is validation for a numeric field which is a string in the action , The validation is through regular expression as show below. Please enter a case number [0-9]{1

Trim for regex validator is not working

2009-05-13 Thread Siddiq Syed
filed, basically trim is not working for this field. Do any body have any idea how to set trim to work. Or any other regular expression where it can trim the the white spaces. Thanks in advance. Regards Siddiq. -- View this message in context: http://www.nabble.com/Trim-for-regex-validator-is