title: Identify string values in between a text
body: <p>I have the following <code>['You and i','everyone else','cat and dog','We u all']</code></p>
  
  <p>I need to somehow identify the strings next to <code>and</code> and <code>u</code>.</p>
  
  <p>For example, i expect the following output:</p>
  
  <blockquote>
    <p>You </p>
    
    <p>i </p>
    
    <p>cat </p>
    
    <p>Dog </p>
    
    <p>We</p>
    
    <p>all</p>
  </blockquote>
  
  <p>Basically, each sentence should split from <code>and</code> and <code>u</code>. I need the two text on either side of <code>and</code> and <code>u</code> to be printed.</p>
  
  <p>What i did is wrong, but here is one of my attempts:</p>
  
  <pre><code>sen = [w for w in words if re.search(r'.*and*.','.*u*.', w)]
  for st in sen:
      print st
  </code></pre>