<?php $string = "I am learn*ing *PHP today*"; echo preg_replace('~\b\*\b~', "'", $string);
You have javascript disabled. You will not be able to edit any code.