title: Python Upper and Lowercase Criteria in String Regex
body: <p>I am trying to write a regular expression that scans a string and finds all instances of "hello", with both capital and lowercase letters. The problem is that while a simple </p>
  
  <pre><code>the_list = re.compile(r'hello')
  </code></pre>
  
  <p>would suffice for only "hello" in the string, I would like the expression to be able to find all versions of "hello" with both capitalized and lowercase letters, such as:</p>
  
  <pre><code>Hello, HELlo, hEllo, HELLO, heLLO, etc.
  </code></pre>
  
  <p>I have also tried:</p>
  
  <pre><code>the_list = re.compile(r'[a-z][A-Z]hello')
  </code></pre>
  
  <p>But no luck. Could anyone explain a better way to write this regular expression?</p>