There is a string like:
$temp_2='<a href="http://site.ru/catid100603" title="Кухонные столы">Кухонные столы</a>'
How to use the regular expressions to get the title
value ( "Кухонные столы"
).
Here is what I did:
$patterm = "(title=\"([А-Яа-я]+)\")"; echo preg_replace($patterm , "title=\"\"",$temp_2);
But it does not work for me.
I want to get all the values of title
from the line $temp2
.