Published in: PHP
URL: http://www.dluxagency.com
$string = "1@-This is a Random string£"; //not allowed chars $pattern = '/[^\w\s]+/'; $replacement = ''; //change the space with - // result $url = "1-this-is-a-random-string"
You need to login to post a comment.
