title: Pattern for email or telephone number
body: <p>I have problem with regular expression in pattern for telephon number OR email</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;input class="form__input" type="text" name="phone-or-email" placeholder="Telephone or email" pattern="^[0-9]{9}$ || [A-Za-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}" title="Telephone or email" required="required"&gt;
  </code></pre>
  
  <p>Pattern:</p>
  
  <pre><code>pattern="^[0-9]{9} || [A-Za-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$
  </code></pre>
  
  <p>telephone regular expression: <code>^[0-9]{9,12}$</code> - it's enough for me</p>
  
  <p>email regular expression:</p>
  
  <pre><code>[A-Za-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}
  </code></pre>
  
  <p>it's ok email regular expression for me</p>
  
  <p>Above code doesn't work :(</p>
  
  <p>I would like have one input and one pattern for telephone number and email address</p>