Quantcast
Browsing all 2 articles
Browse latest View live

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 Article


Regular 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

Browsing all 2 articles
Browse latest View live