<?php $test = 'one "two" (three) -four-'; echo preg_replace('/\w+\K/', '*', $test);
You have javascript disabled. You will not be able to edit any code.