Showing results for 
Show  only  | Search instead for 
Did you mean: 

DLP Policy

Need to create below policy


Rule 1: as below

Regular Expression: ([A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5})

Keyword Exception: which, there, their, about, would, these, other, words, could, write, first, water  ..............

Match Count: Atleast 5

4 Replies
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 5

Re: DLP Policy



Unfortunately, McAfee support does not support custom RegEx. 

If you would like further assistance, you can contact your Sales Account Manager and have him\her connect you with Professional Services to write custom Regex to meet your needs. 



Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 3 of 5

Re: DLP Policy

What pattern are you matching with this regex, what are you trying to achieve

Re: DLP Policy


1. Need to to capture internal IP address with  below mentioned regular expression 




2. Need to capture Microsoft Licence key policy with the below mentioned regular express and exclude mention keywords



Exclusion: space, rights e.t.c 5 Letter words which are more than 4K+

Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 5 of 5

Re: DLP Policy

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community