I am using Mirth 2.1.1.5940 and the changes I put in place are not working
// Modify the message variable below to pre process data
message = message.replace(/^\x3f/g," ");
message = message.replace(/\x92/g,"'");
message = message.replace(/\?t/g,"'t");
message = message.replace(/\?d/g,"'d");
message = message.replace(/\?ed/g,"'ed");
message = message.replace(/\?s/g,"'s");
message = message.replace(/\?re/g,"'re");
message = message.replace(/\?ll/g,"'ll");
message = message.replace(/\?ve/g,"'ve");
message = message.replace(/\?m/g,"'m");
message = message.replace(/\?d?ve/g,"'d've");
message = message.replace("- Other.","-Other.");
return message;
Can someone point me to the right direction or tell me what I am doing wrong?
// Modify the message variable below to pre process data
message = message.replace(/^\x3f/g," ");
message = message.replace(/\x92/g,"'");
message = message.replace(/\?t/g,"'t");
message = message.replace(/\?d/g,"'d");
message = message.replace(/\?ed/g,"'ed");
message = message.replace(/\?s/g,"'s");
message = message.replace(/\?re/g,"'re");
message = message.replace(/\?ll/g,"'ll");
message = message.replace(/\?ve/g,"'ve");
message = message.replace(/\?m/g,"'m");
message = message.replace(/\?d?ve/g,"'d've");
message = message.replace("- Other.","-Other.");
return message;
Can someone point me to the right direction or tell me what I am doing wrong?
Preprocessor
0 commentaires:
Enregistrer un commentaire