Regular Expressions 101

Community Library

Community Library Entry

1

Regular ExpressionOpen Workspace

/
(?<!\sand\s)(?<!except\s)([A-Z0-9]{8})(?!(\sand))
/
gm

Description
Created·2020-07-17 01:12
Type·Match
Flavor·PCRE (Legacy)

matches units that are not next to 'and' (so matches all units next to 'or')

Submitted by Anonymous
Open Workspace