3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $re = "/(?<=href=\"mailto:)(.*)?(?=\")/"; $value = "<p><a href=\"mailto:archivio.statociv@comune.padova.it\">archivio.statociv@comune.padova.it</a>, <strong>pec</strong> <a href=\"mailto:statocivile@comune.padova.legalmail.it\">statocivile@comune.padova.legalmail.it</a></p>"; if (preg_match($re, $value, $matches)) { return $matches[1]; } return '';
Output for 4.3.0 - 4.4.9, 5.0.1 - 7.2.0
Output for 5.0.0

Process exited with code 137.