Share via


Regex Constructor

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

Initializes a new instance of the Regex class.

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
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Regex() Initializes a new instance of the Regex class.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Regex(String) Initializes and compiles a new instance of the Regex class for the specified regular expression.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Regex(String, RegexOptions) Initializes and compiles a new instance of the Regex class for the specified regular expression, with options that modify the pattern.

Top