Dale,

>Can I use something like this
>(?:ht|f)tps?\:\/\/(?:\w[\w\.\-]*\.)?apexcourierca...@lankaemail\.com

don't forget to escape the @   ->  \@

(?:ht|f)tps?\:\/\/(?:\w[\w\.\-]*\.)?apexcouriercar...@lankaemail\.com

>I see a lot of emails that have an email address in the body of the email

Is there something wrong to have an email address in the body of a mail? - 
And no, this regex will not detect an email address.

In any bomb regex (and only there) it is possible to use

[^()<>@,;:\\\"\\[\\]\000-\040\x7F-\xFF]+\@(?:\w[\w\.\-]*\.\w\w+|\[[\d\.]*\.\d+\])

to detect an email address. This term is equal to the on that used 
internaly by assp to detect email addresses.

Thomas




Von:    "Dale" <[email protected]>
An:     "ASSP development mailing list" <[email protected]>
Datum:  29.10.2010 15:36
Betreff:        [Assp-test] REgex for email




Hi

I see a lot of emails that have an email address in the body of the email

First off, what is the most effective way to stop this? Would it be 
bombdatare?

Can I use something like this

(?:ht|f)tps?\:\/\/(?:\w[\w\.\-]*\.)?apexcourierca...@lankaemail\.com

(It's not the actual senders email address)
Email Address I want to stop: [email protected]

Thanks

Dale


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America 
contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in 
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to