title: Email validation using regular expression in JSF 2 / PrimeFaces
body: <p>I have an input field taking an email address:</p>
  
  <pre><code>&lt;h:inputText value="#{register.user.email}" required="true" /&gt;
  </code></pre>
  
  <p>How can I validate the entered value as a valid email address using regex in JSF 2 / PrimeFaces?</p>