Password Policy Regex Builder
Your workspaceProcessed on your device
A few things to know.
Supports 1–512 code points, 48 ASCII punctuation characters and one synthetic test up to 2,048 UTF-16 code units. Produces an ECMAScript regex literal with the u flag. Pattern checks establish syntax only.
- Set minimum and maximum lengths and choose Unicode or restricted ASCII.
- Enable the required composition rules. In ASCII mode, list the exact punctuation allowed.
- Build the pattern. Optionally enter an invented test string to check whether it matches, then copy or download the regex.