testString = 'this is, a , sentence33 Here, is another.';result = testString.gsub(/\,(?=.*\d)/, 'comma');print result;
Standard input is empty
this iscomma a comma sentence33 Here, is another.
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!