﻿Write a Python function that validates email addresses using regex.
