s1 = 'ASDFASDFASDFasdfasdfasdfasdfasdf'
m = re.search('[a-z]', s1)
if m:
    print('Digit found at position %d' % m.start())
else:
    print('No digit in that string')
How to find first non-uppercase letter in the string using python