Skip to main content

Regex Capture

Overview


Extracts data from the provided text using Regex

Input

Regex Extract

NameRequiredDescription
Regex Toolkit
Regex ModeRegex mode to use.
RegexRegex pattern to use for extraction.
TextText to extract data from.

Options

Regex Options

Options

NameRequiredDescription
GlobalIf set all matches will be returned, otherwise just the first match will be returned.
Ignore CaseMakes the matching case in-sensitive.
Multi LineIf enabled, ^ and $ match the start/end of a line. Does not override Single Line mode, which makes dot '.' match every character.
Single LineTreats the Text as a single line, meaning dot '.' matches every character. (Instead of every character except new line '\n')
Non CapturingAka ExplicitCapture - Groups are non capturing by default when this is set.
ExtendedIgnore whitespace in your regex, enables comments using #.
Right to leftPerform matching from right to left.
NameRequiredDescription
Timeout (s)How long to search before giving up.

Output

NameRequiredDescription
Action SuccessTrue if the action passed, false if it failed.
Capture DataTable of all matches and captures found.
First Match ValueThe value of the first match.
First Capture ValueThe value of the captured text from the first match.
Has MatchReturns 'True' if there are 1 or more matches