3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'http://www.espace-aubade.fr/?gclid=CNTmyNagl74CFQEXwwodfVwAYQ'; echo preg_match("#^(http://)?(www\.)?espace-aubade\.com/?.*$#", $str); $str = 'http://www.espace-aubade.com/?gclid=CNTmyNagl74CFQEXwwodfVwAYQ'; echo preg_match("#^(http://)?(www\.)?espace-aubade\.com/?.*$#", $str);
Output for 4.3.0 - 7.1.0
01