Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

$MatchesRegex

Returns true when the specified text matches the specified pattern; otherwise returns false.

Script usage:

$MatchesRegex(Text, RegexPattern)

Parameters:

NameDescription
TextThe text which will be evaluated by the regular expression.
RegexPatternThe regular expression pattern.