3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $regex = "/(?<![\d.])(\d{1,2}'|\d{0,2}\.\d{1,2}')?(?![\d.](?=\d))/"; $string = "thee hight is 15'"; preg_match($regex,$string,$matches); var_dump($matches); ?>
Output for 4.3.0 - 7.1.0
array(1) { [0]=> string(0) "" }