Ben de aynı şekilde daha önce 3-4 kez replace yaptım ama sorunsuz çalışmıştı, aldığın hata nedir?

belki hataya göre bir çözüm üretebiliriz.