QueryExpressionExtensions.Matches(String, String) Method

Definition

Indicates whether the specified regular expression finds a match in the specified input string.

public static bool Matches (this string value, string regularExpression);
static member Matches : string * string -> bool
<Extension()>
Public Function Matches (value As String, regularExpression As String) As Boolean

Parameters

value
String

The input string to search for a match

regularExpression
String

The regulat expression pattern to match

Returns

True if the regular expression finds a match

Applies to