Thanks for the reply.
I think that your answer will work for the provided target string ("abc$456#fgh}890"), but I'm looking for a general regular expression that will work for any combination of alpha/digits character string as I want to find all matches of these three characters in any string.
In C++:
string s("@@@$%^4$88#");
smatch m;
bool found = regex_search(s, m, regex("[$#}]"));
if (found)
{
}
|