Build, test, and debug regular expressions
This regex validates email addresses by matching the standard email format. It allows alphanumeric characters, underscores, and hyphens in both the local part (before @) and domain part (after @). It supports dotted segments in both parts and requires a top-level domain of 2-4 alphabetic characters at the end. The global flag enables finding multiple email addresses in a text.