I have a string
Cause value: <'span id="i_valorCausa'">51.899,51<'/span'><'BR'>
I need to get what is between <'span id="i_valorCausa'> <'/span'>
I tried this way:
The $content
is where the string comes from.
preg_match_all("/<span id='i_valorCausa'>(.*)<\span>/", $content, $prices);
echo $prices[1];
But it did not work. Can someone help me?
Thank you in advance.