From: Craig Demyanovich Date: 2008-11-05T22:19:14+09:00 Subject: Re: check for valid email address ------=_Part_3785_7701117.1225891256510 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Nov 5, 2008 at 2:46 AM, Wouss Bla wrote: > Sijo Kg wrote: > > Hi > > I have a text field mail_id I have to prevent the user to enter only > > a valid mail id For example user@somdomain.com Could you please tell > > how can I check that? > > > > Thanks in advance > > Sijo > > Look into regular expressions and try it yourself This is a good place to start for regular expressions for email: http://www.regular-expressions.info/email.html . The site itself is good overall. Regards, Craig ------=_Part_3785_7701117.1225891256510--