if(/^\Group\s+(\d+)/){ if(group has more than one line){ print group lines }}