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

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
Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 5

Re: DLP Policy

Prasunthapa,

 

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. 

 

Thanks

Was my reply helpful?
If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!
Highlighted
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

Highlighted

Re: DLP Policy

 

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

 

\b(172\.([1][6-9]|[2][0-9]|[3][0-1])\.([0-9]|[0-9][0-9]|[0-2][0-5][0-5])\.([0-9]|[0-9][0-9]|[0-2][0-5][0-5])$)|(10\.([0-9]|[0-9][0-9]|[0-2][0-5][0-5])\.([0-9]|[0-9][0-9]|[0-2][0-5][0-5])\.([0-9]|[0-9][0-9]|[0-2][0-5][0-5])$)\b

 

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

 

\b([a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5})\b

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