printing only those strings that include 2-digit number
the text inside "myFile.txt is
{the pink double jump 34
the rising frog 2
doing the code 11
nice 4 } "
#include <iostream>
#include <sstream>
#include <string>
#include <fstream>
#include <algorithm>
int main()
{
    
    std::string path = "myFile.txt";
    std::ifstream de;
    de.open(path);
    if (!de.is_open()) {
        std::cout << "nah";
    }
    else {
        std::cout << "file is opened";
        std::string str;
        while (!de.eof()) {
            std::getline(de, str);
            for (int i = 0; i < str.length(); i++) {
                int aa = 10;
                if (str[i] > aa) {
                    str = "0";
                }
            }
    
            std::cout << str << "\n\n";
            
        }
        
        
        }
        
    }
what am I doing wrong? how can I check if there is any 2-digit number inside the string?
 
    