Answers for "php replace all whitespace with a single space"

PHP
0

php string replace space

$journalName = preg_replace('/\s+/', '_', $journalName);
Posted by: Guest on February-05-2021

Code answers related to "php replace all whitespace with a single space"

Browse Popular Code Answers by Language