Create regex_validate.php

Some functions for validating phone numbers and email addresses.