« first day (1867 days earlier)      last day (1474 days later) » 

user11585758
4:24 PM
hey i made it half
 
user11585758
def regmatch(word):
    parent_pat = r'(\d+):abc'
    num_pat = r'(\d:*)'
    word pat = r'(\d:*)'
    check = re.match(parent_pat, word)
    print(check)
    if check is not None:
        #checks for how many numbers are in string
        num_check = #re.findall(num_pat, check) # how to check number
        i = 0
        for num in range(int(num_check)):
            i += 1

        char_check = #find the all letters a,b,A,c,.... chars in the match

    if i != len(char_check):
        return True
 
user11585758
does it helps @PaulMcG
 
user11585758
Sorry i have to go, it will solve that problem , stay safe from coronavirus guys
 
4 messages moved from Python
 

« first day (1867 days earlier)      last day (1474 days later) »