So, I've heard a little about regular expressions and how powerful they are, but I am unsure of how to implement it. Could someone provide a sample piece of code that searches a string for letters from A-Z? Or perhaps explain it to me, in addition to an example? Much appreciated!
That said, only very recent versions of major compilers actually support <regex>.
If your C++11 compiler does not support it, upgrade.
If that is not possible for any reason, use Boost's RegEx library.