Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: bool RegexMatch(this string, string, RegexOptions, out Match)

Declaration

public static bool RegexMatch(
    this string input,
    string pattern,
    RegexOptions options,
    out Match match
)

Summary

Determines whether the input string matches the specified regular expression pattern.

Parameters

this stringinput The string to search for a match.
stringpattern The regular expression pattern to match.
RegexOptionsoptions A bitwise combination of the enumeration values that provide options for matching.
out Matchmatch Receives an object that contains information about the match.

Returns

A boolean indicating whether a match was found or not.