Removing Boundary line from a selection

Hi, I'd like to remove only boundary lines from my selection for an operation in xGenerative. What operations are required to achieve such an outcome?
Basically, remove one from the other.

triangulated lines
boundary lines