<?php $q = '#socialmedia within:15mi'; $result = preg_replace("/ within:\d+\w{2}/", "$1", $q, -1, $count); print_r($result); ?>
You have javascript disabled. You will not be able to edit any code.