3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = 'ZOOBLES ieterpjami(902486) CDX-GT560UI Blue ( CDXGT560UI.EUR )'; preg_match_all( '#\(\s*([\.\dA-Z]+)\s*\)#', $string, $matches ); var_dump( $matches );
Output for 4.3.0 - 7.1.0
array(2) { [0]=> array(2) { [0]=> string(8) "(902486)" [1]=> string(18) "( CDXGT560UI.EUR )" } [1]=> array(2) { [0]=> string(6) "902486" [1]=> string(14) "CDXGT560UI.EUR" } }