I have two strings like below:
Word
More than one word
How to use grep to match only with the first one? I would like to have results when there is no more characters around the word I'm searching for. When there is a string like the second one, it should find nothing.
Is it possible to achieve with grep?