There is a this spammer with maybe a 100+ fake emails. The pattern is as follows: [email protected], [email protected] and so on. Essentially, jobsnext(a number)@yahoo.in

I have tried to stop this by marking it as spam but that cannot stop the rest in the pattern. I have already reported spam from over 30 emails in the list but they just keep coming.

Is there a way (in Gmail) to stop mails from jobsnext%anything%@yahoo.in?

3 Answers 3


Gmail uses Perl regex for searching. I think this string should do it.


If you replace the dot with \d, you would only include digits, now it includes every possible string after the jobsnext.

  • Where can you edit the filter?
    – jcora
    Commented Sep 9, 2012 at 22:02
  • 1
    Make your own filter and then slap a label on all the emails trapped by the filter. You can even have the filter have them skip the inbox. Once you are confident that the filter works without false positives you can even be bold enough to delete them. Commented Sep 9, 2012 at 23:51
  • @steven The wild cards you mentioned returned no results Can you point me to the source and post a screenshot showing that it works
    – Abhijith
    Commented Sep 11, 2012 at 17:50
  • However, this gave the right result for a particular email can you please correct it.. from:(/(jobsnext171)(\@yahoo\.in$)/)
    – Abhijith
    Commented Sep 11, 2012 at 18:07
  • 1
    I found it here, and for me it works for letters, for some reason not for numbers. webapps.stackexchange.com/questions/2433/… Commented Sep 17, 2012 at 10:59

I made a script to print the emails in pattern. Advanced search in Gmail accepts 50emails at a time

echo "jobsnext".($i)."@yahoo.in|";

Output will be like [email protected]|[email protected]|[email protected]|jobsnext103...

Made two filters 50+50. And send them all to trash


you might find his ip from his emails maybe and try to take him down by putting his ip on bans list for spammers. I think you can go to settings of ur email nd enter that ip there... hopefully it will stop. or google it to block his ip.

  • 1
    Firstly, I don't think gmail provides the feature to block email using the sender's ip. Secondly, the sender server might be a legit large scale server which hosts a lot of no spamming websites and i will be blocking them all. OR the server can have a dynamic ip
    – Abhijith
    Commented Sep 11, 2012 at 17:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.