Article View: alt.privacy.anon-server
Article #268781Re: Regex help
From: Jack Ryan
Date: Thu, 03 Jul 2014 06:45
Date: Thu, 03 Jul 2014 06:45
61 lines
2627 bytes
2627 bytes
In article <lp2r57$o25$1@solani.org> Bergman Admin <nobody@bergman.delphy.org> wrote: > > On 02/07/14 11:24 PM, Jack Ryan wrote: > > > ayuda7hastapar4todo@gmail.com > > todos6ayuda70muerta@gmail.com > > hastatodos.032ayuda@gmail.com > > > > I need a regular expression that would catch this nym-shifting > > Brazilian's email address. What would be a good regex match? > > > >> regex generator > > > >> http://txt2re.com/ > > > >> http://txt2re.com/index.php3?s=ayuda&submit=Show+Matches > > Thanks. I tried that Web site already. I didn't really find what I > wanted there. I don't need a Perl script or a PHP script. I just need > one regex string to insert in a procmail recipe. Something like > > # Send ayuda spam to the bitbucket > :0H > * ^From: (.*)ayuda(.*)@gmail\.com > /dev/null Maybe you don't need to get that detailed? You could try a test with something like this: ^From: *ayuda@gmail\.com Pattern: ayuda Test String: ayuda@gmail.com Result: **Match** Matched string and sub-expressions: 00) ayuda If you mix up the letters in the sender name as shown below, it still works. Pattern: ayuda Test String: fffffayuda89bbbbb@gmail.com Result: **Match** Matched string and sub-expressions: 00) ayuda If you modify ayuda in the test string as shown below, it doesn't match. Pattern: ayuda Test String: fffffayuZZda89bbbbb@gmail.com Result: No match Matched string and sub-expressions: > -- > > Bergman Remailer Admin 0x770251F2 > Fingerprint: 8124 C17B 7FD9 1738 066F 4E29 4407 A967 7702 51F2
Technical Details
Message-ID:
<393590647ecbf6a7f04d18fcb9cf2320@remailer.cpunk.us>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!w8no5492394qac.0!news-out.google.com!ht10ni4503qab.0!nntp.google.com!news.glorb.com!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mailReferences:
<lp2hes$mir$1@solani.org> <59733be7bb2df391d9e5e9b444ce2951@remailer.cpunk.us> <lp2r57$o25$1@solani.org>Show Full Headers
Complete Article Headers
Message-ID: <393590647ecbf6a7f04d18fcb9cf2320@remailer.cpunk.us> Subject: Re: Regex help Date: Thu, 03 Jul 2014 06:45:17 +0000 From: Jack Ryan <mixmaster@remailer.cpunk.us> References: <lp2hes$mir$1@solani.org> <59733be7bb2df391d9e5e9b444ce2951@remailer.cpunk.us> <lp2r57$o25$1@solani.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!w8no5492394qac.0!news-out.google.com!ht10ni4503qab.0!nntp.google.com!news.glorb.com!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mail X-Received: by 10.236.175.42 with SMTP id y30mr1480428yhl.42.1404377157558; MIME-Version: 1.0 Newsgroups: alt.privacy.anon-server Organization: dizum.com - The Internet Problem Provider X-Abuse: abuse@dizum.com Injection-Info: sewer.dizum.com - 194.109.206.211 Lines: 60