Re: Valid e-mail script

From: McKirahan (News_at_McKirahan.com)
Date: 10/18/04


Date: Mon, 18 Oct 2004 11:39:44 GMT


"Dave" <dave5398@btinternet.com> wrote in message
news:OjPI4VQtEHA.3572@tk2msftngp13.phx.gbl...
> Hi,
>
> Has anyone got a simple script to check a string is a valid e-mail
address?
> I would appreciate some help as my RegExp skills are not yet quite up to
it!
>
> Dave

I saw this some place but didn't test it.

"^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,})+$"

If you get it to work would you post it?



Relevant Pages

  • Re: OneCare Virus definitions
    ... | Dave, plase! ... however I have to write the script. ... if the "customer" is a company or corporation the product should not ... it would be professional malpractice NOT to point out these facts ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Commonly Trojaned Linux services
    ... >> the script was to have a very fast, ... > Dave Wreski ... There is no administration of reports unless there is a problem. ... w33n3r: Yeah. ...
    (comp.os.linux.security)
  • Re: Rewritten play
    ... playwright is the soul of the theatre and the writer's script is at the heart of what we do. ... To alter it to fit one's own concept is to be a traitor to the theatre. ... Dave: So, you'd be willing to give up evil for Lisa? ... Johnny Johnson: Teaching English as a second language. ...
    (rec.arts.theatre.plays)
  • Re: help with cpio
    ... Dave Calhoun wrote: ... > Currently my nightly backup is done by calling a backup script from ... That script get's it's variables from a config file and executes ... -- http://ftp.opensysmon.com is a shell script archive site with an open source system monitoring and network monitoring software package. ...
    (comp.unix.aix)
  • Re: Check directory permissions
    ... The script is producing a few hundred little text files, ... while other suggested using GetAtrr(). ... only seems to want to tell me that the specified directory is in fact ... Dave Peterson- Hide quoted text - ...
    (microsoft.public.excel.programming)