I\'m trying to extract some text using BeautifulSoup. I\'m using get_text() function for this purpose.
BeautifulSoup
get_text()
My problem is that the text contain
A regex should do the trick.
import re s = re.sub('', '\n', yourTextHere)
Hope this helps!