in reply to Re: Re: Re (tilly) 4: Quick Regex question
in thread Quick Regex question

$basename =~ tr/[A-Za-z.]//cd; # strip out unwanted crap
Did you really want to leave in the square brackets? Remember, tr is not s. {grin}

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Re: Re: Re (tilly) 4: Quick Regex question
by Fastolfe (Vicar) on Jan 14, 2001 at 09:34 UTC
    Speaking of stripping out unwanted crap... ;)