Im trying to understand what expressions exactly the regular expression (^[0-9]..[a-zA-Z ]+$) detects in grep command (linux terminal)
I know that if I'd write the following command:
grep ^[0-9]..[a-zA-Z] filename.txt
I will detect any line that contains expressions such as 92afg
But Im not sure what the +$ means and what kind of expressions will I be able to detect with the command
grep ^[0-9]..[a-zA-Z]+$ filename.txt
I tried to open a new text file and just type expressions that I thought would be detected, but none of them matched, so I'd appreciate explanation for this.