String parameters = matcher.group(1);
parameters = parameters.replace("'", "'");
parameters = parameters.replace(""", "\"");
parameters = parameters.replace("&", "&");
String replacement = new DateTimePattern(parameters).getDateTime();
str = str.replaceAll(XmultraConfig.DATE_TIME_FORMAT_PATTERN, replacement);
}
catch (Exception e) {
throw new InvalidConfigFileFormatException("Unable to replace date-time format in \"" + str + "\"");
}