replace a string located between,"re.sub(',(?=[^][]*\\])', '', str)"