Microsoft Windows Product Key

Prev Next

A regular expression to match a Microsoft Product Key, which is a 25-character code that is used to activate Windows.

Matched expressions

Regex expressions

Description

Score

\b([a-zA-Z1-9]{5}-){4}[a-zA-Z1-9]{5}\b

Matches a 25-character alphanumeric string of the format CCCCC-CCCCC-CCCCC-CCCCC-CCCCC.

1



Ignored expressions

None

Validator

No validation