title: Regular expression and unicode to extract a price in python
body: <p>I'm trying to extract some prices from the ikea website but the price format is pretty messy (whitespace, carriage return, a comma in the middle of nowhere). This is what I extracted :</p>
  
  <pre><code>        39,90 €
                              ,
  </code></pre>
  
  <p>I used Scrapy to do this, so far no problem, except that I would like to get rid of all of what is not the price (and the euro symbol) ! </p>
  
  <p>I tried to use this regex (in python 2.7) :</p>
  
  <pre><code>re(\S[0-9]+([ ,]?[ ])([0-9]{2}?)u"\u20AC")
  </code></pre>
  
  <p>I'm new in programming and I learned what is a regular expression this afternoon, but I tried a massive number of possibilities without getting any better results than :</p>
  
  <pre><code>SyntaxError: unexpected character after line continuation character
  </code></pre>
  
  <p>If someone could take few minutes to look at what I did and tells me where I'm wrong, that would be great !</p>
  
  <p>Cheers everyone</p>