How to exclude newline mark from requests.get().text
<p>I'm trying to get rid of numbers from site response <a href="http://app.lotto.pl/wyniki/?type=dl" rel="nofollow">http://app.lotto.pl/wyniki/?type=dl</a> with code below</p>

<pre><code>import requests
import re

url = 'http://app.lotto.pl/wyniki/?type=dl'
p = re.compile(r'[^\d{4}\-\d{2}\-\d{2}]\d+')

response = requests.get(url)
data = re.findall(p, response.text)
print(data)
</code></pre>

<p>but instead of <code>['7', '46', '8', '43', '9', '47']</code> I'm getting <code>['\n7', '\n46', '\n8', '\n43', '\n9', '\n47']</code> How can I get rid of <code>"\n"</code>?</p>