Is there I can automatically select all connected edges from one edge in a part file?

I have a lattice like pattern and would like to delete all connected edges in my pattern - I have over 1000 edges so can't select them manually.

I was wondering if I can select all the connected edges starting from edge in my pattern? Any help will be greatly appreciated!

SolidworksDrawings And Detailing