I bet there's so sexy regex to do this if you're feeling brave?