Last Poblem in remove

Hi,

I have in html as i earlier told u from scrape so i want to remove

<span

  • so that i want to remove from doc

    after i wanna remove consecutive span tags except last span tag Is
    it
    possible can anybody help me,

    OUTPUT:

    <span

  • Regards
    Prashanth Hiremath