title: Regex to find all sentences of text?
body: <p>I have been trying to teach myself Regexes in python and I decided to print out all the sentences of a text. I have been tinkering with the regular expressions for the past 3 hours to no avail.</p>
  
  <p>I just tried the following but couldn't do anything. </p>
  
  <pre><code>p = open('anan.txt')
  process = p.read()
  regexMatch = re.findall('^[A-Z].+\s+[.!?]$',process,re.I)
  print regexMatch
  p.close()
  </code></pre>
  
  <p>My input file is like this:</p>
  
  <pre><code>OMG is this a question ! Is this a sentence ? My.
  name is.
  </code></pre>
  
  <p>This prints no outputs. But when I remove "My. name is.", it prints OMG is this a question and Is this a sentence together as if it only reads the first line.</p>
  
  <p>What is the best solution of regex that can find all sentences in a text file - regardless if the sentence carries to new line or so - and also reads the entire text? Thanks.</p>