<?php $string = "Welcome to Lorien."; $search = "welcome"; $result = preg_replace("/{$search}/i", '<b>$0</b>', $string); print_r($result);
You have javascript disabled. You will not be able to edit any code.