title: How to extract string that contains specific characters in Python
body: <p>I'm trying to extract ONLY one string that contains $ character. The input based on output that I extracted using BeautifulSoup.</p>
  
  <p>Code</p>
  
  <pre><code>price = [m.split() for m in re.findall(r"\w+/$(?:\s+\w+/$)*", soup_content.find('blockquote', { "class": "postcontent restore" }).text)]
  </code></pre>
  
  <p>Input</p>
  
  <pre><code>For Sale is my Tag Heuer Carrera Calibre 6 with box and papers and extras.
  39mm
  47 ish lug to lug
  19mm in between lugs
  Pretty thin but not sure exact height. Likely around 12mm (maybe less)
  I've owned it for about 2 years. I absolutely love the case on this watch. It fits my wrist and sits better than any other watch I've ever owned. I'm selling because I need cash and other pieces have more sentimental value
  I am the second owner, but the first barely wore it.
  It comes with barely worn blue leather strap, extra suede strap that matches just about perfectly and I'll include a blue Barton Band Elite Silicone.
  I also purchased an OEM bracelet that I personally think takes the watch to a new level. This model never came with a bracelet and it was several hundred $ to purchase after the fact.
  The watch was worn in rotation and never dropped or knocked around.
  The watch does have hairlines, but they nearly all superficial. A bit of time with a cape cod cloth would take care of a lot it them. The pics show the imperfections in at "worst" possible angle to show the nature of scratches.
  The bracelet has a few desk diving marks, but all in all, the watch and bracelet are in very good shape.
  Asking $2000 obo. PayPal shipped. CONUS.
  It's a big hard to compare with others for sale as this one includes the bracelet.
  </code></pre>
  
  <p>The output should be like this.</p>
  
  <pre><code>2000
  </code></pre>