<?php $urls = ['<meta name="description" content="‎ST. Eye Clinic - عيادة دكتور محمد عزب لطب و جراحة العيون‎, Dumyat Al Jadidah, Dumyat, Egypt. 20,956 visits ·', '<meta name="description" content="ABC. 2,894,865 visits ·']; foreach ($urls as $url) { if (preg_match('~\d[,\d]*(?=\s*visits)~', $url, $matches)) { echo $matches[0] . PHP_EOL; } }
You have javascript disabled. You will not be able to edit any code.