I need to find file from
ls - l by using grep and certain regexp.
In particular I need greep to see certain file ending, like let's say
.txt but only using regex.
So it should be something like
ls -l | grep '^.+\.txt$'
But that doesn't seem to work for me.