I have to do a regex to spin the content. I already have a REGEX that works very well on nested spin :
{([^{}]+?)}
Unfortunately in my source code, I also have CSS code that matches because of the braces.
Like this (there can be several style tags):
<style>
#test a{
color:red;
font-size:13px;
font-family:Arial;
}
</style>
Therefore I need to exclude all these styles tag and spin content with a single REGEX.
Any ideas? In advance thank you