title: Regex search in page http and https
body: <p>I have this php code: </p>
  
  <pre><code> $cinemagiaprepare=file_get_contents("http://www.bing.com/search?q=$numele+$anul+site:https://www.cinemagia.ro/filme/&amp;format=rss&amp;count=1");
  $cinepatern='#&lt;\/title&gt;&lt;link&gt;(https:\/\/www.cinemagia.ro.+?)&lt;\/link&gt;&lt;description&gt;#';
  if (preg_match($cinepatern, $cinemagiaprepare, $matchc))
  $numeletv1=($matchc[1]);
  </code></pre>
  
  <p>Thats code search in :<code>http://www.bing.com/search?q=Walk%20of%20Fame%202017%20site:https://www.cinemagia.ro/filme/&amp;format=rss&amp;count=1</code></p>
  
  <p>for this link <code>http://www.cinemagia.ro/filme/world-premiere-2009x00-1650809</code></p>
  
  <p>My code only search <code>https</code>. I want to search for <code>https</code> and <code>http</code>.</p>
  
  <p>I try this regex:</p>
  
  <pre><code>$cinepatern='#&lt;\/title&gt;&lt;link&gt;(https.*:\/\/www.cinemagia.ro.+?)&lt;\/link&gt;
  </code></pre>
  
  <p>Demo: <a href="https://regex101.com/r/oNeMMb/1" rel="nofollow noreferrer">https://regex101.com/r/oNeMMb/1</a> this regex select all code.</p>