#include <iostream>
#include <regex>
int main() {
	std::string name = "regex101: build, test, and debug regex - 3 running windows";
    std::regex regexp(R"((.*) -\s+\d+\srunning.*)");
    name = std::regex_replace(name, regexp, "$1");
	std::cout << name << std::endl;
	return 0;
}