So Im trying to make a page that would allow visitor to like our Facebook fanpage and receive free goods in exchange.
So Im using PHP to extract amount of likes. The $content includes the following code:
<div class="fsm fwn fcg">2,704,886 likes · 80,715 talking about this</div>
The value Im trying to extract is 2,704,886. Any ideas what regex pattern do I need to achieve this?