jaSince our upgrade to the 2012 server I have an expression that no longer works in my process flow. The expression removes '$' and ',' from a data file for the amounts. What is now happening is it is removing everything from the ',' back. So $1,400.23 gets changed to 400.23. Any idea what I could change this to get working again? Any help is appreciated.
switch(DataIterator6690_recordNumber)
{
case 1 : vCompany = DataIterator6690_outputData.replace(/"/g,''); break;
case 2 : vBatchNumber = DataIterator6690_outputData.replace(/"/g,''); break;
case 3 : vEmployee = DataIterator6690_outputData.replace(/"/g,''); break;
case 5 : vPayCode = DataIterator6690_outputData.replace(/"/g,''); break;
case 6 : vTransactionDate = convertDate(DataIterator6690_outputData); break;
case 7 : vRate = DataIterator6690_outputData.replace(/[^d.-]/g,''); break;
default: break;
}