[quote user="Bruce Reeves SRNS"]Using std::regex[/quote]
That's for ASCII strings. For Unicode, use std::wregex; (as in my example).
TextBlock::FindTextParametersPtr findParams; ... findParams->SetUseRegularExpressions(true);
Perhaps you omitted some code when you originally posted, but as shown findParams is not valid. You need to create it...
TextBlock::FindTextParametersPtr findParams = TextBlock::FindTextParameters::Create (); // UseRegularExpressions => false MatchWholeWords => false MatchCase => false ... findParams->SetUseRegularExpressions(true);