thready
asked on
Regex string replace
Hi Experts,
I would like to have a function like this in Visual C++ 6.0 in MFC
RegexReplace(REGULAR_EXPRE SSION, SOURCE, DESTINATION)
I downloaded the boost Regex++ library but it doesn't look like they have an API for replace... Why wouldn't they? (is it because the replace is very often ambiguous)?
Thanks for your help with this!
Best,
Mike
I would like to have a function like this in Visual C++ 6.0 in MFC
RegexReplace(REGULAR_EXPRE
I downloaded the boost Regex++ library but it doesn't look like they have an API for replace... Why wouldn't they? (is it because the replace is very often ambiguous)?
Thanks for your help with this!
Best,
Mike
ASKER
Yes - but how can I use this from Visual C++ 6.0?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It's not too hard. I downloaded/built/wrote/ran in about 15 minutes.
ASKER
Many thanks drichards!
http://www.boost.org/libs/regex/doc/regex_replace.html