title: Replace Instagram URL to Embed
body: <p>How to replace Instagram URLs from a text in embed format with regex?</p>
  
  <pre><code>//Input
  $text = 'There is https://www.instagram.com/p/Bes0orNjOIa/?taken-by=kendalljenner and then there was https://www.instagram.com/p/BZMh9qgl8Kw/?taken-by=felix.gaebler';
  
  //Expected output
  $text = 'There is &lt;iframe src="//www.instagram.com/p/Bes0orNjOIa/embed"&gt;&lt;/iframe&gt; and then there was &lt;iframe src="//www.instagram.com/p/BZMh9qgl8Kw/embed"&gt;&lt;/iframe&gt;';
  </code></pre>