Many lanugages that came after C++, such as Java and JavaScript, have built-in facilities for dealing with regular expressions. C++ does not yet have this ability as part of the Standard, a gap that the Boost Regex Library is designed to fill.

boost::regex and boost::smatch

boost::regex_search, with boost::match_not_dot_newline

boost::regex_match

boost::regex_replace, boost::regex_token_iterator and boost::format_first_only