fork download
  1. <?php
  2.  
  3. preg_match('/\((.*)\)/u', 'Текст текст (текст 1 2 &)', $matches);
  4. print_r($matches);
Success #stdin #stdout 0s 82624KB
stdin
Standard input is empty
stdout
Array
(
    [0] => (текст 1 2 &)
    [1] => текст 1 2 &
)