How to use regular expressions to match and replace more complex html tag?
تبليغسؤال
How can I use regular expressions to match all tags with a style attribute and a color value, then extract their color value and replace the tag with <color=colorValue>content, please help me, thank you
//original tag
// <p style="color:#ffffff;">content</p>
// <span ...