<?php preg_match('/\((.*)\)/u', 'Текст текст (текст 1 2 &)', $matches);print_r($matches);
Standard input is empty
Array ( [0] => (текст 1 2 &) [1] => текст 1 2 & )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!