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.txtI've been trying to add $ so it can do what I am looking for, though I have had no success.Thanks.
Regex, finding all words that end with a specific letter
linux;regular expression