Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
check for valid email address
Sijo Kg
11/5/2008 7:01:00 AM
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
--
Posted via
http://www.ruby-...
.
2 Answers
Wouss Bla
11/5/2008 7:47:00 AM
0
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-...
.
Craig Demyanovich
11/5/2008 1:19:00 PM
0
[Note: parts of this message were removed to make it a legal post.]
On Wed, Nov 5, 2008 at 2:46 AM, Wouss Bla <wvdongen@zonnet.nl> 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/...
. The site itself is good
overall.
Regards,
Craig
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
check for valid email address
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password