Match firstMatch(String input)

Searches for the first match of the regular expression in the string input. Returns null if there is no match.

Source

Match firstMatch(String input);