3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = 'ZOOBLES ieterpjami(902486) CDX-GT560UI Blue ( CDXGT560UI.EUR ) Vaschetta Baby SPA(N109-U25/U25) Sweet Dreams Hooded Towel W/PW/B(ASC-STAB01-AS-WH)'; preg_match_all( '#\(\s*([\-\/\.\dA-Z]+)\s*\)#', $string, $matches ); var_dump( $matches );
Output for 4.3.0 - 7.1.0
array(2) { [0]=> array(4) { [0]=> string(8) "(902486)" [1]=> string(18) "( CDXGT560UI.EUR )" [2]=> string(14) "(N109-U25/U25)" [3]=> string(18) "(ASC-STAB01-AS-WH)" } [1]=> array(4) { [0]=> string(6) "902486" [1]=> string(14) "CDXGT560UI.EUR" [2]=> string(12) "N109-U25/U25" [3]=> string(16) "ASC-STAB01-AS-WH" } }