Test, validate and match regular expressions
This regular expression validates an email address by checking the local part, an '@' symbol, and a domain name. The local part allows alphanumeric characters separated by single dots, underscores, or hyphens. The domain part requires a valid domain structure ending with a top-level domain of at least two letters. It is commonly used for form validation to ensure basic email formatting rules.