C# -Windows App - Regular Expression Help
<p>I have a textBox control that lets the user their email address/addresses.
The use may enter email by supplying comma or in next line (new line).</p>

<p>The task is to check whether the textBox contains <b> new line (\n) </b> character or 
<b> commas </b> then split the email addresses accordingly.</p>

<p>I applied:
<br/>
<b>
string[] emails = txtemailAddress.Text.Split('\n');
</b>
<br/>
it splits the email addresses.</p>

<p><br/>
<b> I need a single routine that should check whether the textBox contains ",' {or} '\n' and
split the string based on the split character.If the <i>  email address is  invalid in format </i> it should throw exception as well.
</b></p>

<p>Thanks in advance.</p>
