in reply to How to substitute something from only between two specified charecters

Split on slashes, modify the second field, join with slashes. In code,

@s = split m"/"; 1 < @s and $s[1] =~ s/ //g; print join "/", @s;
  • Comment on Re: How to substitute something from only between two specified charecters
  • Download Code