Connected Curves

Hi all,

Does anyone know how to specify selecting connected curves instead of single curves when using a mask tripple for selection?

Thanks,

David