Match

Uses a regular expressions to find matches in a string.

Syntax

String.Match
   ·  [pattern]
   ·  [text]

Parameters

pattern
The regular expression pattern.
text
The text to search for matches.

Return Value

A list of lists, where each inner list corresponds to each match in the string, and each string in each inner list corresponds to each matching group.