Share via


Regex.IsMatch Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsMatch(String) Indicates whether the regular expression specified in the Regex constructor finds a match in the input string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsMatch(String, Int32) Indicates whether the regular expression specified in the Regex constructor finds a match in the input string beginning at the specified starting position in the string.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsMatch(String, String) Indicates whether the regular expression finds a match in the input string using the regular expression specified in the pattern parameter.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsMatch(String, String, RegexOptions) Indicates whether the regular expression finds a match in the input string, using the regular expression specified in the pattern parameter and the matching options supplied in the options parameter.

Top