<?php   
$string = "some text (12abc34) more text";   
if(preg_match("/[(][.][)]/",$string,$matches)){   
   echo $matches;   
}   
?> 
如上,我是想要结果为 12abc34