Gmail – How to Stop Spam Emails by Pattern

gmailspam-prevention

There is a this spammer with maybe a 100+ fake emails. The pattern is as follows:
jobsnext130@yahoo.in, jobsnext131@yahoo.in 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?

Best Answer

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

from:(/jobsnext((.)*\@yahoo\.in$)/)

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