don't replace some occurences using str_replace
<p>i have a string like this "{text}...{text}...{text}...text..." i need to replace the "text" value in the string but only the ones that are not in currly or square brackets </p>
