My requirement is to accept user input consists of series of words but not repeated words, which means no two same words next to each other.
It may not be a difficult task to detect repeated words using regular expression like the following: \b (w+) \1 \b
Can I achieve my goal using f:validateRegex JSF tag?
[Message sent by forum member 'sariga']
http://forums.java.net/jive/thread.jspa?messageID=469930