Clean URL
Cleans a URL string, for SEO friendly links
Usage
Useful for blog posts for instance, where a title can be something like
"It's over 100 degrees today!"
which would translate to
"its-over-100-degrees-today". So you can store the string and call it like http://examplesite.com/news/2008/its-over-100-degrees-today

Comments
very nice...
Thank you so much !! :)
thanks...........dear.
Thanks for helpful function :)
thanks my friend.
$url = preg_replace('~[^\\pL0-9_]+~u', '-', $url); // substitutes anything but letters, numbers and '_' with separator
That line removed all LETTERS from my links... which aint good, i like letters.
Thanks for that. It is very useful..
thank u m8...
Sexy Script dear..... I love it...
hi myfriends
I want to use this function . but I downt now how?
please show me that where i place this variable $URL.
thanks.