Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

public static bool RegexMatch(
    this string input,
    string pattern,
    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.
out Matchmatch Receives an object that contains information about the match.

Returns

A boolean indicating whether a match was found or not.