title: Searching upper and lowercase Google Docs scripts
body: <p>Im trying to make a Google Docs script which replaces certain lines of code from languages i use and converts them to the pseudo code we are using. An example of what im trying to do is below </p>
  
  <pre><code>body.replaceText("print","OUTPUT");
  </code></pre>
  
  <p>I am new to regex but I want to know if there is a way it will search for <code>print</code> regardless of its case for example it will also except <code>PRINT</code> and <code>Print</code></p>
  
  <p>I have seen some people converting it to lowercase and then searching but I do not want to do this as this will effect my code and make all text lowercase etc. Is there something I can do so it finds it regardless of case?</p>