input: Write a python function to extract phone numbers from a given string using regular expressions.
  assert extract_phone_numbers("(111) 111-1111 and 222-222-2222") == ["(111) 111-1111", "222-222-2222"]
  assert extract_phone_numbers("Call me at (333) 333-3333 or (444)444-4444") == ["(333) 333-3333", "(444)444-4444"]
  assert extract_phone_numbers("My numbers are 5555555555 and (666) 666-6666") == ["(666) 666-6666"]
output: import re
  
  def extract_phone_numbers(s):
      pattern = re.compile(r'\(?\d{3}\)?[\s-]?\d{3}[\s-]?\d{4}')
      return pattern.findall(s)