in reply to How do I use regex to strip out specific characters in a string?

The above does it for you, but to answer your real questions: You can either use a regex or substr:
$stamp =~ /^.{3}(.*)/$1/; $stamp = substr($stamp,3); #<---- this is much faster
The : is done like your \ but just replace it with nothing.
the _20xx_ problem is: $stamp =~ /_\d{4}_//;
You can handle the \ space and colon with a single command: tr/\/ :/_/d

T I M T O W T D I