Build, test, and debug regular expressions
This regular expression validates email addresses. It checks the local part for allowed characters (letters, digits, hyphens, dots, underscores) and requires an @ symbol followed by a domain name with a valid top-level domain (2-3 letters). It is commonly used in form validation to ensure user input is in a standard email format.