PHP Function preg_replace()

Learn how to use PHP Function preg_replace() to perform a pattern match on a string and then replace the match with specific text.

source