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

Dave,

That worked!

Thanks!,

Richard

  • Comment on Re^2: Arguments to substitution question

Replies are listed 'Best First'.
Re^3: Arguments to substitution question
by ramachandrajr (Novice) on Sep 12, 2015 at 10:48 UTC
    $_ = "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

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

      really sorry abt the previous code there was a mistake