Hi,
I need a PCRE expresssion (regex) to match and replace a certain attribute and value related to a markup element, something like this :
<div style="width:200px;"></div>
into
<div style="width:100px;"></div>
What I have now, parsed by simplehtmldom is the style content in plain text, like this :
width:200px;
How can I match the CSS attribute and replace it with the new values in PHP?
Cheers!