0 out of 68 challenges solved

Extract phone numbers from a string

import re

def extract_phone_numbers(string):
    """
    Extracts phone numbers from a given string using regex.

    Args:
        string (str): The input string.

    Returns:
        list: A new list with the extracted phone numbers.
    """
    # TODO: Implement the extract_phone_numbers function
    pass