in reply to Command Line Regex

It's already been invented:
perl -MURI::Escape -n -e 'print uri_unescape($_)' filename