Convert only if the string contains underscore