parse URL with JavaScript or jQuery

后端 未结 5 1430
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 02:44

Ok lets say I have a URL

example.com/hello/world/20111020 (with or without the trailing slash). What I would like to do is strip from the url the domain example.com.

5条回答
  •  感情败类
    2020-12-17 03:29

       
    

提交回复
热议问题