4 lines
117 B
PHP
4 lines
117 B
PHP
<?php
|
|
$str = 'the quick brown fox jumps over the lazy dog.';
|
|
echo preg_replace('/the/', 'That', $str, 1)."\n";
|
|
?>
|