If you need to consider unicode letters also, test with the pattern below:
(?=\w*\d)(?=\w*\p{Lu})[\p{L}\d]{8,}