I am self-learning regex so that I can manage my Linux files a lot better for work but I am having trouble finding a word that ends with a specified letter.
I know how to find words that begin with a letter using:
grep -o '\bs\w*' File.txt
I've been trying to add $ so it can do what I am looking for, though I have had no success.
Thanks.