GetMatches Method (String[])

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

Searches the specified array for all occurrences of a regular expression.

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

Syntax

'Declaration
Public Function GetMatches ( _
    search As String() _
) As String()
public string[] GetMatches(
    string[] search
)
public:
array<String^>^ GetMatches(
    array<String^>^ search
)
member GetMatches : 
        search:string[] -> string[] 
public function GetMatches(
    search : String[]
) : String[]

Parameters

Return Value

Type: array<System. . :: . .String> [] () [] []
The matching objects.

.NET Framework Security

See Also

Reference

Regex Class

GetMatches Overload

System.Text.RegularExpressions Namespace