How to create a new regex in NCM?
- Navigate to Config Automation >> Configlets >> Regexes.
- Click Add at the top-right corner.
- Enter a Display Name, Regex Pattern, and Description.
- Save the regex to apply it.
Sample data
- Display name: Alpha Numeric
- Regex pattern: ^[\p{L}\p{N}]+$
- Description: For alphabets and numbers
Note: In OpManager NCM add-on, you would find this option under Settings >> Configlet >> Regexes.