Without using any third party libraries at all, not really. About the best you'll do using standard library components is something like the following:
#include <string>
#include <algorithm>
bool verify(const std::string& s)
{
typedef std::string::size_type size_type;
typedef std::string::const_iterator cstr_it;
size_type colon_index = s.find(":");
if (colon_index == std::string::npos)
{
return false;
}
cstr_it letter_end = s.begin() + colon_index;
bool valid_letter = std::all_of(s.begin(), letter_end, isupper);
bool valid_number = std::all_of(letter_end, s.end(), isdigit);
return valid_letter && valid_number;
}