in reply to special regexp

Unless I don't understand what you want to do, this will work:
$_ = "xaxlxfxixex"; $line =~ s/x//g;