in reply to How to insert a "/" within a string?
my $string = 'ACOCOB'; [download]
$string =~ s(CO)(C/O)g; print "$string\n"; [download]