With the preg family of functions, PHP has a great interface to regex! ... If you wanted to only replace the first instance, you would set the limit (1) as ...
確定! 回上一頁