in reply to Re^3: Arguments to substitution question
in thread Arguments to substitution question

$_ = "clrf__pbssCOMRAM&(0+255),c"; s/(.*)\&.*(\,c)/$1$2/; print $_;

really sorry abt the previous code there was a mistake