Regex capturing in-between urls

前端 未结 0 1840
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-18 16:42

I\'m new to regex, and I\'m trying to capture a url such as http://www.url.com/part1/part2 such that it returns [\'url.com\', \'part1\', \'part2\']. Co

相关标签:
回答
  • 消灭零回复
提交回复
热议问题