I have a large html code, I need certain tags inside of it.
for example, i want to print all tags start with
< dev ........
....
... 
until < /dev>
So the starting keyword will be " < dev " and the ending keyword will be < /dev>.
I want to do python 2.7 script to print the tags and in between code until the last word < /dev> and I am kind of stuck at that point.
Example:
<div title="buyer-name">test
       <span class="item-price">ff</span> </div>
 
     
     
    