Match a simple email of the form user@domain.tld. You can stay with letters, digits, dots, hyphens and underscores.
A intermediate exercise. Your pattern is run against every test case — the strings it must match and the strings it must not — and each one reports what it got against what was expected, with 3 hints if you want them.
A guided tutorial, a live playground, graded exercises checked against test cases, a printable cheatsheet and a glossary. The tool needs JavaScript, because the regular expressions run in your browser.