0 out of 68 challenges solved

Extract email addresses

**Question:**
Write a function called `extract_email_addresses` that takes a string as input and returns a new list containing all the email addresses found in the input string. Use regular expressions (regex) to extract the email addresses.

**Example:**
Input: "Contact us at [email protected] or [email protected] for assistance."
Output: ["[email protected]", "[email protected]"]
import re

def extract_email_addresses(string):
    """
    Extracts email addresses from a given string using regex.

    Args:
        string (str): The input string.

    Returns:
        list: A new list with the extracted email addresses.
    """
    # TODO: Implement the extract_email_addresses function
    pass