C++ 利用正则表达式按特定字符切割字符串_c++ 字符串截取regex 指定开头和结尾-CSDN博客

网站介绍:文章浏览阅读3.2k次。// This file is a "Hello, world!" in C++ language by GCC for wandbox.#include <iostream>#include <vector>#include <regex>#include <string>std::vector<std::string> split(const std::string& input, _c++ 字符串截取regex 指定开头和结尾