Answers for "how to replace white space from _ in php"

PHP
1

php string replace space

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

Code answers related to "how to replace white space from _ in php"

Browse Popular Code Answers by Language