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

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -