title: How to ignore multiple whitespace chars and words in python regex
body: <p>I have a pattern which is looking for word1 followed by word2 followed by word3 with any number of characters in between.
  My file however contains many random newline and other white space characters - which means that between word 1 and 2 or word 2 and 3 there could be 0 or more words and/or 0 or more newlines randomly</p>
  
  <p>Why isn't this code working? (Its not matching anything)</p>
  
  <pre><code>strings = re.findall('word1[.\s]*word2[.\s]*word3', f.read())
  </code></pre>
  
  <p>[.\s]* - What I mean by this - find either '.'(any char) or '\s'(newline char) multiple times(*)</p>