In JSF, custom validators are handled in the Java code, not in attributes.
In terms of resources, I like the The Complete Reference JavaServer Faces by Schalk/Burns. It's got a good section on validators and how to create custom ones.
Since JSF 2.0 you have a core tag f:validateRegex that accept and validate from a regex expression, you have to set the pattern attribute to use it.
I hope this help you with your problem
Regards
Cesar
When a dream is ending because to come true - OCPJP 6,7. OCE JPA EE6. MCTS