I am using PyMol and as of now I have to write a long command to delete useless files after splitting states:
split_states posesD01;
delete posesD01_0002;delete posesD01_0003;delete posesD01_0004;delete posesD01_0005;delete posesD01_0006;delete posesD01_0007;delete posesD01_0008;delete posesD01_0009;
I want to avoid deleting posesD01_0001
I have tried reducing it using regular expressions to:
split_states posesD01;
delete posesD01_000[2-9];
But it doesn't do anything. It does not throw any errors but it also does not do anything.
Any suggestions are welcome. Thank You for reading!