<?php $str = "Peter (1) (143) Peter (2) (144) Daniel (12) "; print_r(preg_match_all("/([\d()]+)$/", $str));
You have javascript disabled. You will not be able to edit any code.