I am having a text like this
this is my sample \n text message \n for validation
i want a single REGEX to find whether that message contains a particular word
I am having a text like this
this is my sample \n text message \n for validation
i want a single REGEX to find whether that message contains a particular word
It's clear from your question that you have no understanding of regular expressions. However, you do seem to know where to use them. Give these resources a look.