title: Regex to test if string begins with http:// or https://
body: <p>I'm trying to set a regexp which will check the start of a string, and if it contains either <code>http://</code> or <code>https://</code> it should match it.</p>
  
  <p>How can I do that? I'm trying the following which isn't working:</p>
  
  <pre><code>^[(http)(https)]://
  </code></pre>