title: Search string for sentence/word
body: <p>I have a large text:</p>
  
  <pre><code>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse tempor 
  faucibus eros. Fusce ac lectus at risus pretium tempor. Curabitur vulputate 
  eu nibh at consequat. find'someword' Curabitur id ipsum eget massa condimentum pulvinar in 
  ac purus. Donec sollicitudin eros ornare ultricies tristique. find'someword2' Sed condimentum 
  eros a ante tincidunt dignissim. 
  </code></pre>
  
  <p>What would be the easiest way to search the string and return the word inbetween the apostrophe marks?</p>
  
  <p>So far i've tried this:</p>
  
  <pre><code>$findme = array('find');
  $hay = file_get_contents('text.txt');
  
  
  foreach($findme as $needle){
  
      $search = strpos($hay, $needle);
  
      if($search !== false){
          //Return word inbetween apostrophe
      }
  }
  </code></pre>
  
  <p>I know there's always the word find right before the apostrophe.</p>