I am trying to build a regex in Python for the following pattern
- 6 digits (0-9)
- 1 Upper Case Letter (A, B, C or D)
- 2 digits (0-9)
- 1 Upper Case Letter (R)
- 2 digits (0-9)
Example: 123456B01R02 or Example: 263956A01R04
I am completely new to Regex and struggeling big time. I was trying 6[0-9]1[A-D]2[0-9]R2[0-9]
but of course it does not work.
Could anyone please give me some kickstart? Thanks in advance!