I want to rename many files likeTum Hi Ho [www.DJMaza.Com].mp3 to Tum Hi Ho.mp3To do so, I used this command. But somehow it is not working.`rename -n 's/(.*)([.*])(\.mp3)/$1$3/' *.mp3`
Rename files in linux using regex pattern
linux;regular expression;command;rename