<?php $q = '#socialmedia within:15mi'; $result = preg_replace("/ within:[0-9]+(mi|km)/", "$1", $q, -1, $count); print_r($result); echo 44; ?>
You have javascript disabled. You will not be able to edit any code.