

Do this by appending a “ ?” and enclosing the name of the capturing group within “ ”. If you want to extract out the value from your numbered capturing group to a named capturing group within your regex you can convert it into a named capturing group. You need to have at least one capturing group in your regex. This approach won’t work in cases where you only have non-capturing groups in your regex. You can convert these easily by appending “ ?:” to the group right after the starting parenthesis. In this case we will not extract out that part of your regex into a Sumo field. You can convert it into a non-capturing group. If your regex contains a capturing group (part of the regex is enclosed within parentheses), then you have two options: Let's see an example below, the highlighted portions is what has been added. Wrap everything in parenthesis, and append “ ?” followed by a capturing group name enclosed within “ ”. You can convert your normal regular expressions into named capturing groups with the following steps: See Named Capturing Groups for further details. We don’t support regular expressions that either don’t have any capturing groups or contain unnamed/numbered capturing group. The parse regex operator only supports regular expressions that contain at least one named capturing group.Nesting named capture groups is not supported.

Can be used with the parse anchor operator.Multiple parse expressions can be written with shorthand using comma-separated terms.

Each expression always starts matching from the beginning of the message string.
