Positive Lookbehind

  • + 0 comments
    Regex_Pattern = r"(?<=[13579])\d"   # Do not delete 'r'.
    
    import re
    
    Test_String = input()
    
    match = re.findall(Regex_Pattern, Test_String)
    
    print("Number of matches :",