Captured Groups:
supportexample.comCaptured Groups:
salescompany.org\wMatches any word character (letter, digit, or underscore)
.Matches any character except newline
+Matches 1 or more of the preceding element
(\w+)Capturing group 1 - captures the matched text
(\w+\.\w+)Capturing group 2 - captures the matched text
.Any character\dAny digit\wAny word character\sAny whitespace^Start of string$End of string