Sed is awesome tool and can help solving interesting problems Ie. replacing 1.8 style ruby hashes to 1.9 style:
find -name '*.*rb' | xargs sed -i 's/:\([a-zA-Z_1-9]\+\) => /\1: /g'