major problem here is, i cant understand what u want. Otherwise str_replace works fine if u need to replace some text