Regex Match

Searches a given input string with a specified regex pattern.

In Power Automate, search for Regex - Perform Match on Input String

Inputs

FieldTypeDescription
Input StringrequiredstringThe input text to search within.
PatternrequiredstringThe regex pattern to match against the input string.
Case SensitiveadvancedstringWhether the match should be case sensitive.
Options: TrueFalse
Default: False
MultilineadvancedstringWhether the match should consider multiple lines.
Options: TrueFalse
Default: True
Global SearchadvancedstringWhether to find all matches or just the first.
Options: TrueFalse
Default: True
Ignore WhitespaceadvancedstringWhether to ignore whitespace in the regex pattern.
Options: TrueFalse
Default: False
Single LineadvancedstringWhether dot matches any character including newline.
Options: TrueFalse
Default: False

Outputs

Returns an array; each item has these properties.

FieldTypeDescription
MatchstringThe matched string.
IndexintegerThe starting index of the match.
LengthintegerThe length of the matched string.
EndintegerThe ending index of the matched string.
GroupsarrayAn array of captured groups within the match.

More Regex actions

Try Regex Match in your own flow

The Starter plan includes 250 calls every 30 days.

Get your API key