how to delete unwanted jupyter variables in python code example Example: clear variable jupyter notebook %reset_selective <regular_expression>