+matches at least one character from the set below:
0-9one character from 0 (4810) to 9 (5710)
\sany whitespace character
Group 2([A-Za-z0-9\-\s]+) Character Class[A-Za-z0-9\-\s]+ +matches at least one character from the set below:
A-Zone character from A (6510) to Z (9010) (case sensitive)
a-zone character from a (9710) to z (12210) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
\-the literal - (4510 / 558 / 2D16)
\sany whitespace character
\,the literal , (4410 / 548 / 2C16)
\sany whitespace character
Character Class[A-Za-z\s]+ +matches at least one character from the set below:
A-Zone character from A (6510) to Z (9010) (case sensitive)
a-zone character from a (9710) to z (12210) (case sensitive)
\sany whitespace character
\,the literal , (4410 / 548 / 2C16)
\sany whitespace character
{2}matches exactly 2 characters from the set below:
A-Zone character from A (6510) to Z (9010) (case sensitive)
\sany whitespace character
Character Class[0-9\-]{5,10} {5,10}matches between 5 and 10 characters from the set below:
0-9one character from 0 (4810) to 9 (5710)
\-the literal - (4510 / 558 / 2D16)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string