Regex make last part of string optional and capture everything if it is optional

前端 未结 0 463
走了就别回头了
走了就别回头了 2021-02-01 04:05

I have the following expression:

(\\/.*)@gram_bot

I want to match:

/echo@gram_bot
/echo

But if @gram_bot is in th

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