Python 3Python 3.8, 8181 75 bytes
Thanks to Mukundan314 for 5 bytes and ovs for another 1 byte
importlambda re L=[*mapS:max(L:=[*map(len,re.findall("[A-Za"[a-z]+",input()S,2))] print(max(L,key=L.count)) import re Anonymous function: Finds all runs of letters using regex, collects a list of the lengths of those runs, and prints the item with the maximum frequency in the list.