Groups in regex to validate password

In a single regex would not it be possible? If so, would you have an example?