How Can I Match This Regular expression?
ghgdfgfd(bbb)
I used This:
bot.onText(/\ghgdfgfd(bbb)/
But this does not work for me.
How Can I Match This Regular expression?
ghgdfgfd(bbb)
I used This:
bot.onText(/\ghgdfgfd(bbb)/
But this does not work for me.
You have to escape the parentheses, otherwise they're interpreted as grouping operators:
/ghgdfgfd\(bbb\)/