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

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

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.