title: Find phrase in string with preg_match
body: <p>I am searching through text line by line and want to see if the line contains the phrase "see details" and is not case sensitive, so will find:</p>
  
  <p>See Details, See details, SEE Details etc</p>
  
  <p>I have this so far.</p>
  
  <pre><code>if(preg_match("/^(\see details)/", strtolower($line)))
  {
      echo 'SEE DETAILS FOUND';
  }
  </code></pre>
  
  <p>A simple example would be helpful thanks.</p>