↧
Answer by mathematical.coffee for Regular expression in struts
Your regex is technically incorrect. You can't have a + after a {,} qualifier, it's like saying .*+ or .?* (the + is a special metacharacter in regex meaning "one or more", just like * means "zero or...
View ArticleRegular expression in struts
I am validating the decimal places with precision (5,2) which can have negative numbers using regular expresion in struts.When I try to run this ^[-+]?[0-9]{1,3}+(\.[0-9]{1,2})$in java it is working...
View Article