#include <iostream>
#include <regex>
using namespace std;

int main() {
	std::string test_string = "\"1\" \"1.50\"\nNew line";
    std::regex reg_combined("\"([0-9]+\\.?[0-9]*)\"|\n");
    std::cout << std::regex_replace(test_string, reg_combined, "$1");
  	return 0;
}