I need a regex to match any p tag that has one or more strike tags inside it.
For example:
<p><strike>Match this</strike></p>
<p style="">Hey! <strike>Match this</strike> also</p>
<p><strike>Match this</strike> entire <strike>p tag</strike></p>
Thanks!
You can use this regex
But parsing an html with regex is not recommended method.
Instead use an html parser like htmlagilitypack..
You can use this code to retrieve it using
HtmlAgilityPack