Hello all,
I am trying to determine if two consecutive records in a table match. They may be variable length, and they may differ, BUT the ones I need to match start with bracketed text and everything between those brackets should be standardized. For example my records would look like this:
[John] Snow
[Tyrion] Smith
[Tyrion] Lannister
[Ned] Jones
[Ned] Stark
Robert
Robert
I tried using the following RegEx, but I kept getting a malformed function call:
IF REGEX_Match([Row-1:NAME], \[.*?\]) = REGEX_Match([NAME], \[.*?\])
THEN 1
ELSE 0
ENDIF
The result I am trying to produce would look like this:
[John] Snow | 0 |
[Tyrion] Smith | 0 |
[Tyrion] Lannister | 1 |
[Ned] Jones | 0 |
[Ned] Stark | 1 |
Robert | 0 |
| Robert | 0 |
Any assistance is appreciated.