This question can't be answered because, you didn't say how to recognize what is a "keyword" and what is not.
Quote:
I was trying something with replace but not able to figure it out
This is not informative.
We have nothing to figure out what you try to do.
Use
Improve question to update your question.