12345678
string Filter (string clean) { clean.erase(remove(clean.begin(), clean.end(), ' '), clean.end()); clean.erase(remove(clean.begin(), clean.end(), ispunct), clean.end()); return clean; }
clean.erase(remove_if(clean.begin(), clean.end(), [](char c){ return ispunct(c); }), clean.end());