title: Regular expression for length validation in email address
body: <p>We have a textbox which accepts comma separated email address. The regular expression is</p>
  
  <pre>
  ^(\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*[,]?\b)*$.
  </pre>
  
  <p>However now I am unable to add a length validation to this expression. Each email address should not be more than 150 characters.  I have tried </p>
  
  <pre>
  ^((\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)){1,150}\s*[,]?\b)*$. 
  </pre>
  
  <p>But it doesn't work.
  Can you please modify the regex so that it also implements this validation too.</p>