Text handling in C++ centers on owning strings, non-owning string views, and regular expressions. This chapter compares their costs and lifetimes, then uses the standard regex library to search and validate text.
Strings and regular expressions
Owning text, borrowing views, and matching patterns