Skip to content

Regex Boss Battle

See if you can interpret this regex as it is applied to the pattern attribute of an HTML5 input.

Regex Boss Battle WebDevTnT Skin

Must include TnT, Web Dev, Learn; exclude p4ssw0rd; ≥5 uppercase, ≥8 digits, ≥3 symbols; length ≥ 67.

Waiting for input…

Live Checks
  • Length ≥ 67
  • Uppercase letters ≥ 5
  • Digits ≥ 8
  • Symbols ≥ 3 (set: !@#$%^&*()_-+=[];:'",<.>/?\|)
  • Contains TnT
  • Contains Web Dev
  • Contains Learn
  • Does NOT contain p4ssw0rd

The Pattern

^(?=.*[A-Z].*[A-Z].*[A-Z].*[A-Z].*[A-Z])(?=.*\d.*\d.*\d.*\d.*\d.*\d.*\d.*\d)(?=.*[!@#$%^&*()_\-+=\[\{\]};:'",<.>/?\\|].*[!@#$%^&*()_\-+=\[\{\]};:'",<.>/?\\|].*[!@#$%^&*()_\-+=\[\{\]};:'",<.>/?\\|])(?=.*TnT)(?=.*Web Dev)(?=.*Learn)(?!.*p4ssw0rd).{67,}$

Regex & Pattern Resources