getting cleaner url from search string