Build, test, and debug regular expressions
Matches basic email addresses line-by-line: a local part made of word characters, hyphens, and underscores with optional dot-separated segments (e.g., john.doe), followed by an @ symbol and a domain with at least one dot-separated suffix like .com or .co.uk. The gm flags enable matching multiple emails across separate lines in a single string. Useful for simple form validation or extracting emails from multi-line text, though it doesn't enforce full RFC 5322 compliance.