firstMatch method

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

Match firstMatch(
String input
)

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