how to resolve this issue - Warning: preg_match(): No ending delimiter '^' found in C:\xampp\htdocs\phpMySQLSourceCode\26\data_valid_fns.php on line 17
my code is
function valid_email($address) { // check an email address is possibly valid if (preg_match('^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+[a-zA-Z]+$', $address)) return true; else return false; }
thank you