3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = "/(?<![\d.])(\d{1,2}'|\d{0,2}\.\d{1,2}')?(?![\d.](?=\d))/"; $string = "thee hight is 15'"; preg_match_all($regex,$string,$matches); var_dump($matches); ?>

preferences:
43.5 ms | 402 KiB | 5 Q