^(?!(.)\1*$)[0-9A-Z]{0,25}$
Run Code Online (Sandbox Code Playgroud)
The extra (?!(.)\1*$) will reject any strings that is composed of repeating same character.
The (?!…) is a negative lookahead that will cause the primary regex fail if the … is matched, and the (.)\1* will match a string of repeating characters.