在我的HTML代码中:
<html>
<body>
<p> simple text <br>
next text sample <br>
end of para .. </p>
</body>
</html>
使用python reg ex我想知道我该怎么做:
list= ['text' , 'sample' ]
#read each line and find the word from the list
#
# then check whether the word is succeeded by a br tag
#
#
任何人都可以分享他们的建议吗?