Right now I'm processing the following two regex replacements and I'm combining the substitution like this. Is there a way to process the replacement calling regex_replace one time only?
std::string test_string = "whatever";
std::regex reg_num("\\\"([0-9]+\\.{0,1}[0-9]*)\\\"");
std::regex reg_newline("\n+");
return std::regex_replace(std::regex_replace(test_string, reg_num, "$1"), reg_newline, "");