Stock Exchange Daily Official List (SEDOL) Code Regular Expression

Category: Strings

A regular expression to match SEDOL codes (Stock Exchange Daily Official List number, a code used by the London Stock Exchange to identify foreign stocks).

/([B-Db-dF-Hf-hJ-Nj-nP-Tp-tV-Xv-xYyZz\d]{6}\d)/

Matches

  • 0540528
  • 1234567
  • D01CL06

Non-matches:

  • 123456
  • A1B2C36
  • D01CL0B
Rate This Regex
Sending
User Review
0 (0 votes)

Expression Flags

Flags Description
i Ignore case sensitive.
g Allows global search.
m Allows multiline search.