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

    This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

    | Privacy Policy | Terms of Service | Remote Ruby Jobs