Answers for "how to replace whitespace with a character in a string php"

PHP
0

php string replace space

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

Code answers related to "how to replace whitespace with a character in a string php"

Browse Popular Code Answers by Language