0
I have a string
Value of the Cause: <'span id="i_valorCausa'">51.899,51<'/span'><'BR'>
I need to get what’s in between <'span id="i_valorCausa'> <'/span'>
I tried so:
The $content
is where the string comes from.
preg_match_all("/<span id='i_valorCausa'>(.*)<\span>/", $content, $prices);
echo $prices[1];
but it didn’t work. someone can help me?
Thanks in advance.
This html is a little weird. It has extra quotes/hairs, that’s right?
– Miguel