In my html code:
<html>
<body>
<p> simple text <br>
next text sample <br>
end of para .. </p>
</body>
</html>
Using python reg ex I want to know how can I :
list= ['text' , 'sample' ]
#read each line and find the word from the list
#
# then check whether the word is succeeded by a br tag
#
#
Can any one please share their suggestions?