PHP Get Twitter username from URL (Regex)

前端 未结 0 417
星月不相逢
星月不相逢 2020-11-21 17:46

I\'m looking to be able to extract a Twitter username from a URL.

E.g: https://twitter.com/jack => jack

I found this Regex to be helpful.

  i         


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