Build, test, and debug regular expressions
Validates email addresses line by line using Python's global and multiline flags. The local part (before @) must start with word characters and may include segments separated by dots, hyphens, plus signs, exclamation marks, or percent signs (e.g., john.doe+filter). The domain requires word characters followed by one or more dot- or hyphen-separated segments, matching forms like example.com or mail.example.co.uk. Commonly used for validating email input fields or extracting emails from multiline text.