When I use a regular expression to scrape a bit of text I often end up with:
harbor</b> <b>freight</b>
----------------------------------- match # 1 -----------------------------------
sears</b>
----------------------------------- match # 3 -----------------------------------
northern</b> <b>tool</b>
----------------------------------- match # 4 -----------------------------------
advance</b> <b>auto</b> <b>parts</b>
----------------------------------- match # 5 -----------------------------------
autozone</b>
Is there an easy way to strip out the HTML codes?
harbor</b> <b>freight</b>
----------------------------------- match # 1 -----------------------------------
sears</b>
----------------------------------- match # 3 -----------------------------------
northern</b> <b>tool</b>
----------------------------------- match # 4 -----------------------------------
advance</b> <b>auto</b> <b>parts</b>
----------------------------------- match # 5 -----------------------------------
autozone</b>
Is there an easy way to strip out the HTML codes?