Parse string expression