Share via


IsMatch Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method IsMatch(String) Indicates whether the regular expression specified in the Regex constructor finds a match in a specified input string.
Public method IsMatch(String, Int32) Indicates whether the regular expression specified in the Regex constructor finds a match in the specified input string, beginning at the specified starting position in the string.

Top

See Also

Reference

Regex Class

System.Text.RegularExpressions Namespace