#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; { uCalc::Transformer t; t.Owned(); // Causes t to be released when it goes out of scope t.FromTo("{@Number:n}", "[NUM:{n}]"); auto text = "Order 123 has 2 items for 49.95 total."; cout << t.Transform(text) << endl; }; }