#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); t.Text("

Title

Text

"); // Pattern to find any tag and its content t.Pattern("<{tag}>{content}"); t.Find(); auto allMatches = t.Matches(); cout << "Found " << allMatches.Count() << " matches:" << endl; // Loop through each Match object and print its Text for(auto match : allMatches) { cout << " - " << match.Text() << endl; } }