Share via


Regex Constructor

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

Initializes a new instance of the Regex class.

Namespace:  System.Text.RegularExpressions
Assembly:  System.Text.RegularExpressions (in System.Text.RegularExpressions.dll)

Syntax

'Declaration
Public Sub New
public Regex()
public:
Regex()
new : unit -> Regex
public function Regex()

.NET Framework Security

See Also

Reference

Regex Class

Regex Overload

System.Text.RegularExpressions Namespace