$_ = "clrf__pbssCOMRAM&(0+255),c"; s/(.*\&).*(\,c)/$1$2/; print $_;
ofcourse i saw this ques answered but may be you can use code this way too :p
In reply to Re^3: Arguments to substitution question
by ramachandrajr
in thread Arguments to substitution question
by rich.wilder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |