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
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
What pattern are you matching with this regex, what are you trying to achieve
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+
Try these Regex test sites
https://regex-golang.appspot.com/assets/html/index.html
Or post your question here...
https://stackoverflow.com/questions
Corporate Headquarters
6220 America Center Drive
San Jose, CA 95002 USA