<?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); ?>
You have javascript disabled. You will not be able to edit any code.