替换歌词里的时间为空白

f=File.open('M0030002007.lrc')
f.each do |line|
    puts line.gsub(/[\[\d:\.\]]/,'')
end  

编程技巧