Skip to content

Regex.Match

Name Mandatory Description Default Type
⬅️ Input The string to match. String
Output ➡️ Outputs either a sequence of strings, containing the fully matched string and any capture groups or an empty sequence if there are no matches. [String]
Regex No The regular expression as a string. `` String

This shard matches the entire input string against the regex pattern specified in the Regex parameter and outputs a sequence of strings, containing the fully matched string and any capture groups. It will return an empty sequence if there are no matches.

Details

This shard attempts to match the entire input string against the given pattern. When using Regex.Match, ensure your pattern accounts for the entire string, using constructs like .* at the beginning or end if necessary. If you need to capture specific parts of the string, use capture groups within a pattern that matches the full string. For partial matches or finding substrings, use Regex.Search instead.