\ban ASCII word boundary
Positive Lookahead(?=\|?\1\b) \|?optionally matches the literal | (12410 / 1748 / 7C16)
\1the text saved by group 1
\ban ASCII word boundary
.{1,999}?any character (except for line terminators), repeated between 1 and 999 times
\|the literal | (12410 / 1748 / 7C16)
\d{1,9}a digit, repeated between 1 and 9 times