From: Wouss Bla Date: 2008-11-05T16:46:37+09:00 Subject: Re: check for valid email address 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 -- Posted via http://www.ruby-forum.com/.