Hi guys,
I'm having an issue with preg_match. This is the script I'm running.
preg_match('/\<p align=\"left\"\>\<b\>(.+?) /ims',$contents,$cis);
$name = $cis[0];
$name = trim($name);
However, when I echo $name, it also shows the stuff before (<p align="left"><b>) and after ( ) the (.+?). I can use a str_replace to remove this html code but I don't think this is normal behavior for a preg_match. Anyone knows how to solve this issue?
Turbo