Link to home
Start Free TrialLog in
Avatar of borris111698
borris111698

asked on

removing "/"

I have the referance numbers that look like
PNM/ENG/FLD/001
PNM/MTK/001
PNM/ENG/FLD/TRN/001/001

these are from $FORM{'refno'} from a text feild that is user defined. I want to remove the "/" from it so that it look like PNMENGFLD001... etc.

can anyone help

cheers
ASKER CERTIFIED SOLUTION
Avatar of mrchrist
mrchrist

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of borris111698
borris111698

ASKER

Cheers mrchrihst... I am not very good at this perl stuff yet???
Avatar of ozo
$FORM{refno} =~ tr'/''d;
$FORM{refno}=~ s/\///g;