result = string.match(regexp);
The function matches the string object agains the given regular expression and returns all requested matches.
See also: String.replace(), String.search(), RegExp Object