Example
preg_replace(\'/\\{[a-zA-Z.,\\(\\)0-9]+\\}/\', \'Replaced\', \'Lorem ipsum dolor sit {tag1({tag2()})}, consectetur adipiscing elit.\');
You need to add curly braces to your character set. Here's the pattern I used:
/\{[a-zA-Z.,\(\)\{\}0-9]+\}/
And here was the result:
"Lorem ipsum dolor sit Replaced, consectetur adipiscing elit."