title: Get Div id using preg_match_all
body: <p>I have a string like below :</p>
  
  <pre><code>this is a testing string. Below is first div with id.
  &lt;div id='divid_first_fN8GiCLO_div'&gt;&lt;/div&gt;
  this is a testing string. Below is second div with id.
  &lt;div id='divid_second_fN8GiCLO_div'&gt;&lt;/div&gt;
  this is a testing string. Below is third div with id.
  &lt;div id='divid_third_fN8GiCLO_div'&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Required Result :</p>
  
  <pre><code>this is a testing string. Below is first div with id.
  &lt;iframe src="first_fN8GiCLO.html"&gt;
  this is a testing string. Below is first div with id.
  &lt;iframe src="second_fN8GiCLO.html"&gt;
  this is a testing string. Below is first div with id.
  &lt;iframe src="third_fN8GiCLO.html"&gt;
  </code></pre>
  
  <p>I have div id's with me, which need to be changes in iframe source's, Can I do it in some way using <strong>preg_match_all</strong> to get this done.. as it can be in multiple positions in string.</p>
  
  <p>I need to pick ID form div and put that id in iframe and remove that div.
  Thanks !</p>