input: Write a python function to validate phone numbers matching the pattern ^\(?\d{3}\)?\s?\-?\d{8,12}$.
  assert validate_phone_number("(123)-1234567890") == True
  assert validate_phone_number("123-123456789") == True
  assert validate_phone_number("123 1234567890") == True
  assert validate_phone_number("12312345678") == True
  assert validate_phone_number("12-12345678") == False
output: import re
  
  def validate_phone_number(phone_number):
      pattern = r"^\(?\d{3}\)?\s?\-?\d{8,12}$"
      return bool(re.match(pattern, phone_number))