Regex Class

Regular expression objects are used to match or decompose strings based on patterns.

Methods 7

Name Description
CaptureCount

Returns number of captures for a match

GetSubString

Returns a matched substring from a regex handle.

Match

Matches a string against a pre-compiled regular expression pattern.

MatchAll

Gets all matches from a string against a pre-compiled regular expression pattern.

MatchCount

Returns number of matches

MatchOffset

Returns the string offset of a match.

Regex

Compile a regular expression.