Erlang - Code

-replace string
re:replace("20130501 22:54", " |:", "_", [global, {return, list}]).  % output: "20130501_22_54"