Which one of the following preg PHP function is used to do a find and replace on a string or an array?

Which one of the following preg PHP function is used to do a find and replace on a string or an array? Correct Answer preg_replace()

In preg_replace() function, after the replacement has occurred, the modified string will be returned and if no matches are found, the string will remain unchanged.

Related Questions

Which one of the following preg PHP functions is used to take a string, and put it in an array?
Which one of the following is not a preg PHP function?
What function can you use to create your own streams using the PHP stream wrappers and register them within PHP?
Say I want to change the extension of a PHP file, which of the following statements should I edit to change from .php to .html in the httpd.conf file?
Which array function checks if the specified key exists in the array?