DSS Administration
Also available as:
PDF

Adding Custom Regular Expressions

To use custom regex entries within your new custom profiler tag rules, you can also add new regex values.

  1. Click Resources in the right panel on the New Custom Profiler Rules page.
  2. Click + icon on the Regex tab. The Regular Expression Editor page appears.
  3. Enter the name of the new regular expression.
  4. Enter a valid regular expression.

    For example:

    \b(([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?))\b
  5. Enter the list of test strings to evaluate the new regular expression.
    If the test string is valid, then the match information gets auto populated in the Match Information box.
  6. Click Save to add the new regular expression to the list of Regex Resources.