jsf regex any letter character, multiple letters -
i want validate 'name' field in jsf. need write regex allow character (unicode), no numbers or special symbols. found
\p{l} matches single code point in category "letter".
but doesn't work. plus, how did rewrite match array of chars?
cheers.
add +
modifier after:
\p{l}+
that means 1 or more letters.
Comments
Post a Comment