I'm making a newsletter script, this problem is beyond me.
The error is:
Warning: preg_match() [function.preg-match]: Compilation failed: unmatched parentheses at offset 123 in /newsletter.php on line 16
Line 16 -
if(preg_match('/\A(?:[a-zA-Z0-9]!#$%&\'+\/=?_{|}~-])+(?:\.[a-zA-Z0-9]!#$%&\'*+\/=?^_{|}~-]+)@(?:a-zA-Z0-9?.))+(?:[a-zA-Z]{2}|com|org|net\b)\Z/i',$email)) return true;
Anyone help?