title: Splitting text into sentences using regex in Python
body: <p>I'm trying to split a piece sample text into a list of sentences without delimiters and no spaces at the end of each sentence.</p>
  
  <p>Sample text:</p>
  
  <p>The first time you see The Second Renaissance it may look boring. Look at it at least twice and definitely watch part 2. It will change your view of the matrix. Are the human people the ones who started the war? Is AI a bad thing?</p>
  
  <p>Into this (desired output):</p>
  
  <pre><code>['The first time you see The Second Renaissance it may look boring', 'Look at it at least twice and definitely watch part 2', 'It will change your view of the matrix', 'Are the human people the ones who started the war', 'Is AI a bad thing']
  </code></pre>
  
  <p>My code is currently:</p>
  
  <pre><code>def sent_tokenize(text):
      sentences = re.split(r"[.!?]", text)
      sentences = [sent.strip(" ") for sent in sentences]
      return sentences
  </code></pre>
  
  <p>However this outputs (current output):</p>
  
  <pre><code>['The first time you see The Second Renaissance it may look boring', 'Look at it at least twice and definitely watch part 2', 'It will change your view of the matrix', 'Are the human people the ones who started the war', 'Is AI a bad thing', '']
  </code></pre>
  
  <p>Notice the extra '' on the end.</p>
  
  <p>Any ideas on how to remove the extra '' at the end of my current output? </p>