0

I have this html code in my website:

<span class="adPage__content__price-feature__prices__price__currency" itemprop="priceCurrency" content="€"> € </span>

And I try to parse currency by my php script:

preg_match("/(?<=itemprop=\"priceCurrency\"\ content=\").*?(?=\>)/",$ec,$matches_curr);

And it gives me: €"

But I need to parse only: €

How I can get it?

Phoz
  • 11
  • 2

0 Answers0