我想用preg_replacePHP中的任何东西替换字符串末尾的额外空格.我正在创建一个大的单词数据库,不知何故,一些单词最后得到了额外的空白区域.
preg_replace
php preg-replace
php ×1
preg-replace ×1