This function will allow you to create nice friendly SEO URLs with PHP using prep_replace function. A useful function for blog post titles.
I have always liked nice urls in website it makes it cleaner and gives you better result for SEO. This is why i like to share this function on making nice URLs. You can store the title of your page/blog/etc in this format and then call it in your