I need to use Regex validation to validate id’s which varies per country. For example:
Belgium: BE123456789
Netherlands: NL123456789B01
In my form I have a country dropdown. After selection it’s clear how the id pattern should look like.
The problem is that i have 0 knowledge about Regex and when I look at the explanation it seems I am looking to abacadabra . But I just need to know what I have to fill in the regex pattern field for BE123456789 and NL123456789B01. There are more combinations but perhaps after two examples I can figure these out.
Can you help a regex illiterate?