I need to get the 4th H4 Tag Value HTML Code looks like below :
<div class="col-md-6 mb-6 mb-md-3">
<h3 class="mb-3">testing 1</h5>
<h4 class="mb-0 abcd defg hikjk lmnop">Not needed this Value</h4>
</div>
<div class="col-md-6 mb-6 mb-md-3">
<h3 class="mb-3">testing 2 </h5>
<h4 class="mb-0 abcd defg hikjk lmnop">Not needed this Value</h4>
</div>
<div class="col-md-6 mb-6 mb-md-3">
<h3 class="mb-3">testing 3</h5>
<h4 class="mb-0 abcd defg hikjk lmnop">Not needed this Value</h4>
</div>
<div class="col-md-6 mb-6 mb-md-3">
<h3 class="mb-3">testing</h5>
<h4 class="mb-0 abcd defg hikjk lmnop">**Needed this Value only**</h4>
</div>
I really appreciate is somebody can help.
Below what I am looking for :
Got HTML from CURL request
Than,
$html = new simple_html_dom();
$html->load($content);
$html->find('h4') as $h4)
$value = $h4->???????; --> what should be the value ??