Rename files

I have a group of files that are named as so. 4 digits, a space, then a dash, and another space ending with .txt. I tried this, Code: rename -n 's/('08