^start of line
\w+any word character, repeated at least once
*repeats the group contents below any number of times:
-the literal - (4510 / 558 / 2D16)
\.the literal . (4610 / 568 / 2E16)
_the literal _ (9510 / 1378 / 5F16)
\w+any word character, repeated at least once
\w*any word character, repeated any number of times
@the literal @ (6410 / 1008 / 4016)
\w+any word character, repeated at least once
?repeats the group contents below at most once:
-the literal - (4510 / 558 / 2D16)
\wany word character
?repeats the group contents below at most once:
\w*any word character, repeated any number of times
\.the literal . (4610 / 568 / 2E16)
\w{2,3}any word character, repeated between 2 and 3 times
?repeats the group contents below at most once:
\.the literal . (4610 / 568 / 2E16)
\w{2,3}any word character, repeated between 2 and 3 times
$end of line
g modifier: global. Finds all matches instead of stopping after the first
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string