Hi; I have written some php code. This code is making heavy letter replacement. Which is the faster character replacement way? $txt = str_replace($search,$replace,$txt); or $txt = preg_replace($search , $replace , $txt); which one must i use for making my code faster? Thanks for the comments