Skip to main content

Regex Replace

Overview


Replaces data from the provided text using Regex

Input

Regex Replace

NameRequiredDescription
Regex Toolkit
RegexRegex pattern to match text to be replaced. (Replaces all text matched, not capture groups)

|Text| |Text to replace any matches found inside with your Replace With value.| |Replace With| |Text to replace all matches found in Text.|

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
Throw error if no match foundFails this Action if there is no match found
Timeout (s)How long to search before giving up.

Output

NameRequiredDescription
Action SuccessTrue if the action passed, false if it failed.
Updated Text