Hello all,
I've been trying to print out a matching pattern so I can rename my files accordingly, I am trying to use sed to match the 'S01E01 etc but have not had much joy:
Code:
echo myvid\ S01E01\ \[1080p\]\ \[dfgfdg\]\ \[x264\].mp4 | sed -n '/^(S[0-9][0-9]E[0-9][0-9])$/p'