Find the character limit of the Regex expression in a policy
search cancel

Find the character limit of the Regex expression in a policy

book

Article ID: 226475

calendar_today

Updated On: 06-13-2025

Products

Data Loss Prevention Data Loss Prevention Enforce

Issue/Introduction

How to find the character limit of the Regex expression in a policy?
You need to know the limits when writing regex patterns in policies. 

Resolution

Open the developer mode in the Enforce UI when authoring the policy to show the character limit for the " Regular Expression:  ". 

Additional Information

To open a web page in developer mode you typically use keyboard shortcuts or browser menus. 
Most browsers, including Chrome, Firefox, and Edge, allow you to open Developer Tools by pressing F12 or Ctrl+Shift+I. 
You can also right-click on a webpage and select "Inspect" or "Inspect Element".