<?php $pattern = '/def/'; $replacement = '123'; $subject = 'abcdef'; preg_replace($pattern, $replacement, $subject, -1 ); print $subject; ?>
You have javascript disabled. You will not be able to edit any code.