How I can split string by comma and/or new line and/or whitespace : <p>Hi there I am searching for regex to split emails, but no success so far.
What is the point
I  want to make possible to separate this:</p>

<pre><code>o@gmail.com b@gmail.com c@gmail.om
</code></pre>

<p>or </p>

<pre><code>o@gmail.com, b@gmail.com,c@gmail.com
</code></pre>

<p>or </p>

<pre><code>o@gmail.com,
 b@gmail.com, c@gmail.com
</code></pre>
