Hello I have a fairly simple question I want to search for only the last '1+1' before the = sign from this statement
1+1+1+1+1+1=6
I have tried the grep statement
`grep '.+' 'text.txt'`
it returns
1+1+1+1+1+
as it highlights all of the + symbols. I believe I need to create a min range such as:
grep '.+{4,}' 'text.txt' This does not work, can anyone explain why? A solution with explanation would be appreciated.
Thanks