Developer Console
Login
Register
Back
Create URL PHP
Copy Below Code
View As A Text File
Show Text Only
Show API
Edit Code
$slug=preg_replace('/[^A-Za-z0-9-]+/', '-', $string);