IsMatch

Checks whether the given regular expression pattern finds a match in the given text.

Syntax

String.IsMatch
   ·  [pattern]
   ·  [text]

Parameters

pattern
The regular expression to search for.
text
The text to search for a match.

Return Value

true if the pattern finds a match and false otherwise.