in reply to one liner to rename multiple files in a directory?
It uses Perl regular expression syntax. This will work for your 1st example (to get rid of arbitrary leading crap):
ren-regexp 's/^.*(Episode.*\.avi)/$1/' *Episode*.avi [download]