domain regex split

前端 未结 4 1145
情深已故
情深已故 2021-01-27 08:20

I have some domains I want to split but can\'t figure out the regex...

I have:

  • http://www.google.com/tomato
  • http://int.google.c
4条回答
  •  一向
    一向 (楼主)
    2021-01-27 09:07

    The answer here might be what you're looking for.

    Getting parts of a URL (Regex)

提交回复
热议问题