---
> 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
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*
-------
> 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
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
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
5 matches
Mail list logo