I'm getting problems with my coding. I'm trying to take out tags from my preg_match_all. I'm still new and learning.
preg_match_all("/\<b>\\$(.*?)\<\/b\>/is", $res[0], $Price );
for($i = 0; $i < count($Price); $i++) {
$Price = preg_replace("/<.*?>/is","",$Price);
}
foreach($Price[0] as $kgbPrice)
{
$PriceArray[] = "<div class='prices' id='kgbdealsPrice'>".$Price."</div>";
}
The array is being outputted somewhere else.
I'm getting content which has
<b>content</b>
Thank you