title: Regex: match word and number with decimal
body: <p>I would like to match words and numbers and drop all special characters unless it's a period between numbers.</p>
  
  <p>Specifically, I want to have the effect of <strong><code>\W+</code></strong> except instead of splitting 49.99 into 49 and 99, I want to keep it as 49.99</p>
  
  <p>For example I want </p>
  
  <blockquote>
    <p>"millie's math house 3-7 (win/mac) now 49.99 only."</p>
  </blockquote>
  
  <p>to be split into</p>
  
  <blockquote>
    <p><code>['millie', 'math', 'house', '3', '7', 'win', 'mac', 'now', '49.99', 'only']</code></p>
  </blockquote>
  
  <p>But right now, using just <strong><code>\W+</code></strong>, I get</p>
  
  <blockquote>
    <p><code>['millie', 'math', 'house', '3', '7', 'win', 'mac', 'now', '49', '99', 'only']</code></p>
  </blockquote>
  
  <p>How can I keep words that have periods in the middle, but get rid of special characters otherwise?</p>
  
  <p>Thanks!</p>