How to delete atoms outside of a defined region

When quoting text, please use the proper formatting as explained in the forum guidelines.

Define a suitable region that describes the outside instead of the inside of the given cylinder. Details are in the documentation.