Ben kendisi tek bir harf ile bir kelime içinde iki ya da daha fazla ortaya herhangi bir harf dönüştürmek gerekir.
Örneğin:
School -> Schol
Google -> Gogle
Gooooogle -> Gogle
VooDoo -> Vodo
Ben aşağıdakileri denedim, ama eregi_replace yılında ikinci parametre sıkışmış.
$word = 'Goooogle';
$word2 = eregi_replace("([a-z]{2,})", "?", $word);
If I use \\1 to replace ?, it would display the exact match. How do I make it single letter?
Herkes yardımcı olabilir? Teşekkürler