Validating password with python.
Regex
import re
passRX = re.compile(r'[A-Za-z0-9@#$%^&+=]{8,}')
pp = passRX.search('dy_5mupV')
pp == None
True
pp = passRX.search('DEVGukvk')
False