hi,all
I want to apply validation for Special characters like (,/'#~@[]}{+_)(*&^%$£"!\|<>)
using the jsf validator. i have implemented the validator for number but now i want to make validator for Special characters.
value.toString().trim().matches();
What will be the regular expression inside the matches()
method in java class?
i want to allow all the field excluding the specified characters.
thanks in advance