So guys, I just want to format a string with jQuery, the string can be with closed html tags <div><h2></h2><span></span></div> or without it such as <div><h2></h2><span>, or it may contains images such as <img src=""/>, but I need to format it to have as result only plain text, I suppose that this can be done with a regex, I googled it, but could not find such an example.
So if you could help me, I'll be very thankful for help. Thanks
An exemple of the string:
<p>
<span style="color: rgb(35, 31, 32); font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; ">Преимущества стоматологической установок Anthos</span>
</p>
<ul class="tech_list" style="margin: 0px; padding-right: 0px; padding-left: 0px; list-style-type: none; color: rgb(35, 31, 32); font-family: Arial, Helvetica, sans-serif; ">
<li style="margin: 0px; padding: 8px 0px; font-size: 13px; line-height: 18px; overflow: hidden; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); ">
<img alt="Anthos " class="photo" src="http