title: Splunk Regex Email Expression
body: <p>When attempting to create e-mail alerts within our Splunk> server (Version 4.3 for those who care) we receive an e-mail invalid error message which I have traced back to the <code>restmap.conf</code> file.  The current expression is:</p>
  
  <p><code>validate( match('action.email.to',  "(?i)^(?:[^@\s]+@(?:[^@\s.]+\.)+[a-z]{2,})(?:\s*[,;]\s*(?:[^@\s]+@(?:[^@\s]+\.)+[a-z]{2,}))*$"), "One of the email addresses in 'action.email.to' is invalid")</code></p>
  
  <p>I am not good at regex at all and this one seems to be rather complex.  I want the expression to allow e-mail address such as <code>john.smith@abc.p1</code> I attempted to create or modify the current regex using <code>http://regex101.com/#PCRE</code> but this is a little over my head still.</p>