Regex Class

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

Methods 7

Name Description
Regex

Compile a regular expression.

Match

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

GetSubString

Returns a matched substring from a regex handle.

MatchAll

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

MatchCount

Returns number of matches

CaptureCount

Returns number of captures for a match

MatchOffset

Returns the string offset of a match.