key | value | description |
---|---|---|
id (required) | regex | Specifies to include the anchor line in the method’s output. |
pattern (required) | Javascript-flavored regex | Returns the first capturing group. To capture more than one group, you can use one field for each group, then concatenate them with the Concatenate computed field method. Double escape special characters since the regex is in a JSON object. For example, \\s, not \s , to represent a whitespace character.Sensible throws an error if you specify a pattern that can match an empty string, for example, .*. |
flags | Javascript-flavored regex flags. default: none | Flags to apply to the regex. For example, “i” for case-insensitive. |
stop | Match object or array of match objects. default: none | Stops extraction at the matched line. Matched line isn’t included in the method output. If unspecified, matches to the end of the document. |
Example document | Download link |
---|