I have this regular expression for delete inline styles:
(style=").*"
I have 2 problems. Example:
<p style="margin:0pt; line-height:115%; font-size:11pt">
In this case all is fine, but I need select the space before P
Problem 2, If there are, more html tags in the same line, the expression doesn't work, and removes the "TEXT VERY IMPORTANT". Example:
<p style="margin:0pt; line-height:115%; font-size:11pt">TEXT VERY IMPORTANT 1 <p style="margin:0pt; line-height:115%; font-size:11pt">TEXT VERY IMPORTANT 2 <p style="margin:0pt; line-height:115%; font-size:11pt">TEXT VERY IMPORTANT 3
I need select only SPACE+style="..." (for then remove it) Any help? Thank you.