I need to create a custom.js file for the IDM collector to parse out the
following into multiple CustomerVar's. This string is stored in cv57.

UN:John Doe|MN:Michael Smith|IN:Tom
Jones|SD:2012-05-22|ED:2013-05-20|ST:Approved

Any suggestions on how to construct the regex to get the values after
the :'s and before the |'s.

I would like to end up with;

cv142=John Doe
cv143=Michael Smith
cv144=Tom Jones
cv111=2012-05-22
cv112=2013-05-20
cv145=Approved

Do I need to do anything to the rec2evt.map file on the collector so
that I can parse the value of cv57.

Any help or ideas would be greatly appreciated.

Thank you.