<?php preg_match('/.+\s\(ID:([^(\)$)]+)\)$/', 'abc (xyz) (ID:http://exam()ple.com)', $match); print_r($match);
You have javascript disabled. You will not be able to edit any code.