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