title: How can I get my regular express to capture complete sentences and not abbreviations
body: <p>I have some long text strings that are a series of concatenated sentences.  I have written a regular expression that captures individual complete sentences by combining a period match and a positive lookahead.  Where I'm running into trouble is when my text includes common abbreviations like (Mr. Dr. Mrs.) My regular express is treating these abbreviations like complete sentences and therefore yielding bad results. </p>
  
  <p>Does anyone have an idea around this situation.  </p>
  
  <p>The regular expression I'm using is this:</p>
  
  <pre><code>/(\S.+?[.?!])(?=\s+|$)/gm  
  </code></pre>
  
  <p>and my sample text is this:</p>
  
  <pre><code>Bill attended the meeting and provide some valuable input.  John was at the meeting but said nothing. Mr. Smith could not attend.  A. B. Butler presented the financial results and took questions. 
  </code></pre>
  
  <p>Ideally I would get four captures - one for each sentence, but I'm getting six because Mr. and A. B. are being treated as sentences.  </p>
  
  <p>You can see the results of my regular expression here: </p>
  
  <p><a href="https://regex101.com/r/wE8kU4/1" rel="nofollow">regex101 - Sample Regular Expression</a></p>
  
  <p>I'm using javascript. </p>