/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$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"
URL: http://www.dluxagency.com
Comments
