Regular Expression

0
This has to be the final expression 01/A01 t/m 20/Z10. Now I have this, [01-20]/[A-Z][01-10]. With a max. length of 6 characters. I couldn’t have found a solution for this.
asked
2 answers
1

/ is a special character, escape it

[01-20]\/[A-Z][01-10]

This information is also available from a site as Rom said.

answered
0

Ah, Raimo saw Chris’ answer did answer the ‘/’ but was not the complete solution. Kuddos for getting  the full answer, but I can never pass a challenge like this to see if the regex can be shorter. And it can:

(([0-1]{1}[0-9]{1})|20)\/[A-Z](?1)

answered