Adding custom regular expressions

To use custom regex entries within your new custom profiler tag rules, you can also add new regex values. If a match is found, the expression is evaluated to True.

  1. Go to Profilers > Tag Rules.
  2. Click New.
  3. In the Resources in the panel on the Custom Profiler page, click +. The Regular Expression Editor page appears.
  4. Enter the name of the new regular expression.
  5. 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
  6. 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.
  7. Click Save to add the new regular expression to the list of regex Resources.