3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urls = ['<meta name="description" content="&#x200e;ST. Eye Clinic - &#x639;&#x64a;&#x627;&#x62f;&#x629; &#x62f;&#x643;&#x62a;&#x648;&#x631; &#x645;&#x62d;&#x645;&#x62f; &#x639;&#x632;&#x628; &#x644;&#x637;&#x628; &#x648; &#x62c;&#x631;&#x627;&#x62d;&#x629; &#x627;&#x644;&#x639;&#x64a;&#x648;&#x646;&#x200e;, Dumyat Al Jadidah, Dumyat, Egypt. 20,956 visits &#xb7;', '<meta name="description" content="ABC. 2,894,865 visits &#xb7;']; foreach ($urls as $url) { if (preg_match('~\d[,\d]*(?=\s*visits)~', $url, $matches)) { echo $matches[0] . PHP_EOL; } }

preferences:
29.15 ms | 404 KiB | 5 Q