My Super Simple Solution


#1

cat input | grep “…-…-…$|(…) …-…$”