<?php

$str = "Foo Bar (Any Group - ANY GROUP Baz)"; 
print preg_replace("/(?:[\w/]+[^\w/()]+){1,30})(.*)\1/i", "\1\2", $str);


?>