Just used a cool regexp trick in Ruby

code better • have fun