I am trying to extract this text "NL dd ABNA ddddddddd" from collection of strings and I need to create expression that would match the third title:
IBAN NL 91ABNA0417463300
IBAN NL91ABNA0417164300
Iban: NL 69 ABNA 402032566
To date, I use this regex pattern for extraction:
NL\s?\d{2}\s?[A-Z]{4}0\s?\d{9}$
Which matches the first two examples, but not the third.
To reproduce this issue, see this example: https://regex101.com/r/zGDXa2/1.
How can I treat it?