QueryExpressionExtensions.Matches(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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