<?php $input_lines="any word here related to #English must #be replaced."; $output = preg_replace("/(#\w+)/", "<a href='bla bla'>$1</a>", $input_lines); echo $output;
You have javascript disabled. You will not be able to edit any code.