My Initial String consists of <span> and some contents in between and a </span></span , I would like to remove that piece(including span and contents inside it and /span) from my string , what should I do ?
Part of String that need to be Removed : "<span class="_5mfr"><span class="_6qdm" style='height: 16px; width: 16px; font-size: 16px; background-image: url("https://static.xx.fbcdn.net/images/emoji.php/v9/t81/1/16/")+14 variable strings+</span></span
I would like to remove that whole piece mentioned above
s = s.replace('<span>','').replace('</span>','').>in the</spanspanthing removed,but some part is till there like mentioned below