title: Python re.search
body: <p>I have a string variable containing </p>
  
  <pre><code>string = "123hello456world789"
  </code></pre>
  
  <p>string contain no spacess. I want to write a regex such that prints only words containing(a-z)
  I tried a simple regex</p>
  
  <pre><code>pat = "([a-z]+){1,}"
  match = re.search(r""+pat,word,re.DEBUG)
  </code></pre>
  
  <p>match object contains only the word <code>Hello</code> and the word <code>World</code> is not matched.</p>
  
  <p>When is used <code>re.findall()</code> I could get both <code>Hello</code> and <code>World</code>.</p>
  
  <p>My question is why we can't do this with <code>re.search()</code>?</p>
  
  <p>How do this with <code>re.search()</code>?</p>