I have code that works, but I was wondering if the following could be done in one single statement? I'm sure it could but my perl experience isn't so advanced yet to make a single working statement out of all of this. I've hit the books literally and tried different sequences and attempts, but none worked. Any thoughts? I'm sure a few of you could have fun with this.
$report=~s/[0-9]//g; # filter out any numbers
$report=~s/_//g; # filter out any underscores
$report=~s/CRS//g; # filter out the phrase 'CRS' if caps
$report=~s/crs//g; # filter out the phrase 'crs' if lower
$report=~s/-//g; # filter out dashes
$report=~s/html//g; # filter out the phrase 'html'
$report=~s/\.//g; # filter out decimal points
Thank you all in advance for any help.