$original = “The quick red fox jumps over the lazy brown dog.”; $new = preg_replace(“/the/i”, “\$0“, $original);
Source here.
Hi thanks for dropping by. Please share the content if you think there is someone who will appreciate it.