Lazy Programming Series – Challenge – 8
Problem Statement: Develop a Python program that extracts email addresses from a given text input. The program should utilize regular expressions to accurately identify and extract email addresses, adhering to the standard email format. The extracted email addresses should be printed as output.
Requirements:
- The program should accept a text input containing one or more email addresses.
- It should accurately identify and extract email addresses from the text input using regular expressions.
- The program should output the extracted email addresses, each on a separate line.
- The extracted email addresses should adhere to the standard email format, including the username, domain name, and top-level domain (TLD) parts.
- The program should handle cases where multiple email addresses are present in the text input.
Example: Input:
Constraints:
- The input text may contain alphanumeric characters, special characters, and whitespace.
- The program should handle email addresses with different domain names and TLDs, including both generic and country-specific domains.
- The program should not extract email addresses that do not conform to the standard email format.
@SAKSHAM DIXIT