3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = '<p align="center"><font face="Proxima Nova Alt Th" size="21" color="#ffffff" letterSpacing="-1.000000" kerning="1"><b>YOUR</b></font></p><p align="center"><font face="Proxima Nova Alt Th" size="21" color="#ffffff" letterSpacing="-1.000000" kerning="1"><b>OFFER</b></font></p>'; $regex = "/font face=\"([a-z 0-9]+)\"/i"; $font = preg_match($regex, $string, $matches); echo $matches[1];
Output for 4.3.0 - 7.1.0
Proxima Nova Alt Th