Phone:the literal text Phone: (case sensitive) \s*a Unicode whitespace character, repeated any number of times
\({0,1}optionally matches the literal ( (4010 / 508 / 2816)
\d{3}a Unicode decimal digit, repeated exactly 3 times
\){0,1}optionally matches the literal ) (4110 / 518 / 2916)
\s*a Unicode whitespace character, repeated any number of times
\d{3}a Unicode decimal digit, repeated exactly 3 times
-*the literal - (4510 / 558 / 2D16) , repeated any number of times
\d{4}a Unicode decimal digit, repeated exactly 4 times
\n{0,1}optionally matches a line-feed (newline) character (ASCII 10)
g modifier: global. Finds all matches instead of stopping after the first