Boost Users :
Subject: [Boost-users] String algorithm? Removing non-alphanumerics from a string
From: Tim Burgess (tim_at_[hidden])
Date: 2013-10-18 14:05:09
Takeing an std::string as input, I need to return the same string with any
characters not in the ranges "az", "AZ" and "09" being discarded. A
colleague told me that a could use something in the string algorithm
library, but I'm obviously not spotting what I need. I tried regex replace,
but failed, as I'm not understanding regular expressions yet.
Any and all suggestions would be gratefully received.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net