I need to check a string is a valid SHA1 string, like
'418c1f073782a1c855890971ff18794f7a298f6d'
I didn't know the rules for that, for example whether a number and a letter is a must? or how many number or letters are minimum?
Could anybody advise any regex for matching in python?