<?php $subject = "Hello foo"; echo preg_replace_callback( '/\bfoo\b/i', function ($match) { return false; }, $subject );
You have javascript disabled. You will not be able to edit any code.