#!/bin/bashs="02/02/202008/25/199803/02/203012/02/202106/19/196001/10/201003/07/2100"sed -E '/^([0-9])([0-9])\/([0-9])([0-9])\/\4\3\2\1$/!d' <<< "$s"
Standard input is empty
02/02/2020 03/02/2030 12/02/2021
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!