Email regex

<PRE><FONT size=1> <P><FONT size=2><FONT color=#2b91af>Match</FONT> mijnMatch = <FONT color=#2b91af>Regex</FONT>.Match (<FONT color=#0000ff>this</FONT>.TextBox1.Text ,<FONT color=#a31515>@"^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$"</FONT>);<BR><FONT color=#0000ff>if</FONT> (mijnMatch.Success )<BR>{<BR><FONT color=#0000ff>this</FONT>.Label1.Text = <FONT color=#a31515>"correct email adres"</FONT>;<BR>}<BR></FONT><FONT size=2><FONT color=#0000ff>else<BR></FONT>{<BR><FONT color=#0000ff>this</FONT>.Label1.Text =<FONT color=#a31515>"incorrect email adres"</FONT>;<BR>}<BR></FONT></P> </PRE></FONT>

{{opmerking.Naam}}:

{{opmerking.OpmerkingText}}

            

Saving your comment....

Naam is verplicht!
Email is verplicht!
Opmerking is verplicht!