The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

UK Sort Code

Prev Next

A SORT code is used by British and Irish banks to identify and route the money transfers to the respective bank and account. These codes have six digits, and they are divided into three different pairs, such as NN-NN-NN.

Validator

None

Matched expressions

Regex expressions

Description

Score

\b(\d){2}-(\d){2}-(\d){2}\b

Matches a 6-digit number of the format NN-NN-NN delimited by hyphen.

1



Ignored expressions

None