This regex pattern matches email addresses. It starts with one or more word characters (\w+), followed by zero or more groups of an optional dot or hyphen ([\.-]?\w+), then an '@' symbol followed by exactly two word characters (\@\w{2}), followed by zero or more groups of an optional dot or hyphen ([\.-]?\w+), and ends with a dot followed by two or three word characters (\.\w{2,3}).

Interactive Regex Playground

^\w+([\.-]?\w+)*(\@\w{2})+([\.-]?\w+)*(\.\w{2,3})+$
This regex pattern matches email addresses. It starts with one or more word characters (\w+), followed by zero or more groups of an optional dot or hyphen ([\.-]?\w+), then an '@' symbol followed by exactly two word characters (\@\w{2}), followed by zero or more groups of an optional dot or hyphen ([\.-]?\w+), and ends with a dot followed by two or three word characters (\.\w{2,3}).
Matches
Found 0 matches

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.