<?php preg_match('/.+\s\(ID:?(.*)\)$/', 'abc (xyz) (ID:http://ex () ample.com)', $match); print_r($match); preg_match('/.+\s\(ID:(.*)\)$/', 'abc (xyz) (ID:123456)', $match); print_r($match);
You have javascript disabled. You will not be able to edit any code.