Hi I need to remove all characters from the '_' until the end of the string.
Ben denedim:
$string = 'merry_christmas';
$string = preg_replace('/_*/','',$string);
echo $string; // I need it to be: 'merry'
... Ama hayır.
Fikir, sağ taraftaki çizgi karakterini '_'
ve tüm karakterleri kaldırmak için.
Teşekkürler