Right now I have written a pretty standard regex that should replace any of the bad chars in the strings. However, instead of removing the bad chars it removes all chars from the string.
The bad chars I am trying to replace are /'()
Here is the current code that I am testing with.
Expand|Select|Wrap|Line Numbers
- boost::regex const string_matcher("/'()//gi");
- dataStr = boost::regex_match(results->GetString(column),string_matcher);
- cout << dataStr << endl;