Answers for "php replace multiple spaces end chrters to one"

PHP
0

remove double space php

$ro = preg_replace('/\s+/', ' ',$row['message']);
Posted by: Guest on September-17-2020
0

php replace multiple spaces end chrters to one

$string = preg_replace('/[\s$@_*]+/', '_', $string);
Posted by: Guest on December-25-2020

Code answers related to "php replace multiple spaces end chrters to one"

Browse Popular Code Answers by Language