PHP function similar to this JavaScript function

Posted by Jude on Stack Overflow See other posts from Stack Overflow or by Jude
Published on 2010-04-30T05:24:57Z Indexed on 2010/04/30 5:37 UTC
Read the original article Hit count: 339

I need a similar function in PHP for this JavaScript function

text = text.replace(/ffc/g, "Hello");

I think preg_replace will do, but i'm not sure how to write the expression..

© Stack Overflow or respective owner

Related posts about php

Related posts about function