PHP Demo
PHP Code Output

A demo with user selected terms

The source string

The str_replace method is used to perform replacement in targetted string by the given search term.
The str_replace is case-sensitive function.