cancel
Showing results for 
Search instead for 
Did you mean: 

Regex test not working

Is there a specific version of regex for email custom filters.  I set block sender contains word or phrase /[3-9]/g then check the use regex box.  Test against a jumble of letters and numbers eg

5oiu4oijhgjg3 and test finds no result. Any ideas what I'm doing wrong?

14 Replies
Reliable Contributor catdaddy
Reliable Contributor
Report Inappropriate Content
Message 2 of 15

Re: Regex test not working

Discussion successfully moved from Support Forums to Security Information and Event Management (SIEM)

For better assistance and better exposure.

Cliff
McAfee Volunteer
McAfee Employee andy777
McAfee Employee
Report Inappropriate Content
Message 3 of 15

Re: Regex test not working

Please relocate post to MEG.

Re: Regex test not working

I'm new here, can't see how to move it, assume that's a moderator's action.  I've found an anti-spam forum and I'll re-post it there.  Don't know if MEG is part of Virus Protect 😞

McAfee Employee andy777
McAfee Employee
Report Inappropriate Content
Message 5 of 15

Re: Regex test not working

No worries, that note was to the mod who is the only one that can move a post. It looks like you're in the right spot now with your other post though.

Reliable Contributor catdaddy
Reliable Contributor
Report Inappropriate Content
Message 6 of 15

Re: Regex test not working

Hi Andy,

               Please apprise if you still think that I need to move this discussion.

Thank you,

CD

Cliff
McAfee Volunteer
Reliable Contributor sssyyy
Reliable Contributor
Report Inappropriate Content
Message 7 of 15

Re: Regex test not working

what are you trying to match? 5oiu4oijhgjg3?

Re: Regex test not working

I'm getting emails where the sender address is a random jumble of letters and numbers. Here's an example tNd7RvnNzetPhvYaD6@tNd7RvnNzetPhvYaD6.com. The McAfee spam filter doesn't recognise them as spam (don't know why) so I was looking to block the email if there are one or more numbers in the address.

Thanks for the reply.

Reliable Contributor sssyyy
Reliable Contributor
Report Inappropriate Content
Message 9 of 15

Re: Regex test not working

I think you are in the wrong from, this is siem, not McAfee Mail Gateway?

Re: Regex test not working

I did wonder.  I originally posted in Support Forums but was moved here, see above.  Where do you suggest is the right place?

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator