I am trying to remove only one property, height
, and its value, from an inline style. I would like to start with this:
<img src="http://hello-world/img/a1.jpg" style="width: 800px; height: 600px; float:right;">
And make it like this:
<img src="http://hello-world/img/a1.jpg" style="width: 800px; float:right;">
I am using Java 7 environment and how can I solve this problem using Pattern.compile?