Answers for "replace spaces in a string with a character php"

PHP
1

php string replace space

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

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

Browse Popular Code Answers by Language