I have a string that has a ton of random characters (pulled from a webpage). I want to pull all of the numbers, commas, hyphens, periods, and percentages from the page and put them into a text file.
I'm new to C++ so I'm not sure how I'd go about doing this. I'm pretty sure I can write to a text file, but pulling the numbers and those symbols has been a bit of a struggle.
How should I do this? What's the best practice method? Please don't just link me to a help site, I've scoured the internet already. :)
Thank you so much in advance!