match

The match method searches a string for a match against a regular expression and it returns the matches.

 

Syntax

System.Array match( regexp);

 

Parameters

regexp

The value to search for, as a regular expression.

 

Return Value

Returns the matches, otherwise, null.

 

Remarks

Member of string.

 

Example