I'm not very familiar with Javascript or Regex but I built a script that is working well with one small flaw in the Regex part. What I want to do is to find commas following alpa-numeric characters (actually almost anything other than a double quote) and then replace the comma with a ~. There are other commas that need to stay as they are so it isn't a simple matter of replacing all commas.
The Regex string that I have at this point is:/[a-z|0-9]\,/g,"~"
The problem with it is that it replaces the last character in the string as well as the comma. Is there way to change this so it will find the alpha-numeric character followed by the comma but only replace the comma? If not, do I need a loop to find the match and then do a selective replacement (sample code would help if you have some).