section = ""; for (y = 1; y <= Bottom; y++) { isSectionHeader = (left([1,y], 1) == "["); if (isSectionHeader) { section = [1,y]; } if ([2,y] == "" && !isSectionHeader || [1,y] != "ŽÐˆõƒR[ƒh" && [1,y] != "Ž–¼" && section != "[•}—{e‘°]") { DeleteRow(y); y--; } }