in reply to Re^2: Strip filenamein thread Strip filename
Is there any alternative for this
Yes: $ans =~ s/[[:space:][:cntrl:]]//g;