3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match('/.+\s\(ID:(.*)\)$/', 'abc (xyz) (ID:http://example.com)', $match); print_r($match);
based on tNmXH
Output for 5.6.0 - 7.3.0alpha1
Array ( [0] => abc (xyz) (ID:http://example.com) [1] => http://example.com )