#!/usr/bin/env python3 import re passRegex = re.compile(r\'\'\'( .{8,} # 8 or more characters [A-Z] # at least