Test, validate and match regular expressions
Validates standard email addresses by checking the local part (before @), the @ symbol, and the domain part (after @). The local part allows alphanumeric characters, underscores, and hyphens with optional dot-separated segments. The domain requires at least one subdomain and a top-level domain of two or more letters. Commonly used in form validation for user registration and contact forms.