title: Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \ ). Not able to put regex pattern in a string
body: <p>I am trying to put a regex pattern but not able to do so. This is the regex pattern:</p>
  
  <pre><code>/(?:^(http:\/\/|https:\/\/|\/\/)((?:[\w.:-]+)(?:(?:[\/]+)(?!acl-)|["\'])(?:[^\s"\'}\]]*)))/mi
  </code></pre>
  
  <p>Please help me. I would be more than thankful to you.</p>