I'm trying to grab a word from a specific character for example if my sentence was
Hello, World!
and I wanted to search for e, my output would be
Hello,
I tried to user grep but had no luck, I also tried this
echo "Hello, World!" | grep -o e
output
e
is there any way I could get the output of "Hello,"