I've been trying to use preg_match to find a form with a certain action URL. Here the code
if (!preg_match('/<form method="post"
action="https[\:]//www.amazon.com/gp/aw/si.html/ref=aw_c_co".*?<\/form>/is', $page, $form)) {
die('Failed to CHECKOUT form!');
But I get an error message:
Warning: preg_match(): Unknown modifier '/'
I dont understand whats wrong. Thanks