perl -ne 'print "$_\n" for /\[\d+\]\s*=\s*\d+/g' temp.txt