#!/usr/bin/perl -w use strict; open( FILE, $ARGV[0] ) || die "Cannot open file!"; while ( ) { # print the filtered line my $line = $_; $line =~ s/(?