title: Regex split email address
body: <p>I need some help with php regex, I want to "split" email address "johndoe@example.com" to "johndoe" and "@example.com"</p>
  
  <p>Until now I have this: <code>preg_match('/&lt;?([^&lt;]+?)@/', 'johndoe@example.com', $matches);</code>
  And I get <code>Array ( [0] =&gt; johndoe@ [1] =&gt; johndoe)</code> </p>
  
  <p>So how I need to change regex?</p>