Test, validate and match regular expressions
This regular expression matches basic email addresses by looking for a local part consisting of alphanumeric characters, dots, and hyphens, followed by an '@' symbol. It then expects a domain name with alphanumeric characters and hyphens, concluding with one or more dots and a top-level domain of at least two characters. It is useful for simple text extraction and basic validation tasks.