title: Automatically adding spaces after periods and commas, while avoiding numbers
body: <p>This is the current regex I use to sanitize sentences when people write something like:</p>
  
  <blockquote>
    <p>Hello.I'm Andres,right?</p>
  </blockquote>
  
  <p>It will be automatically converted to:</p>
  
  <blockquote>
    <p>Hello. I'm Andres, right?</p>
  </blockquote>
  
  <p>The problem comes up when there are numbers inside the string. Example:</p>
  
  <blockquote>
    <p>I have 40.381,32 dollars.</p>
  </blockquote>
  
  <p>...will be converted to:</p>
  
  <blockquote>
    <p>I have 40. 381, 32 dollars.</p>
  </blockquote>
  
  <p>My current code:</p>
  
  <pre><code>echo preg_replace( '/[!?,.](?![!?,.\s])/', '$0 ', 'Hello my friend.There should be a space after sentence periods and commas, but that should not apply to 40.381,32 numbers.');
  </code></pre>
  
  <p>Question: how can I avoid these rules to be applied when the <strong>,.</strong> characters are between numbers? Thanks!</p>