Answers for "best way to replace php code in string php"

PHP
7

str_replace php

echo str_replace("worss","world","Hello worss in PHP!!");
Posted by: Guest on June-10-2020
0

replace all numbers in string php

$words = preg_replace('/[0-9]+/', '', $words);
Posted by: Guest on October-21-2020

Code answers related to "best way to replace php code in string php"

Browse Popular Code Answers by Language