You can ignore packets in the “Packet List” pane. Wireshark will then pretend that they not exist in the capture file. An ignored packet will be shown with white background and gray foreground, regardless of the coloring rules set.
Ignored packet information is not stored in the capture file or anywhere else. It will be lost when the capture file is closed.
There are several ways to ignore and unignore packets. From themenu you can select from the following: