I have a Python regex for German house numbers which works okay. However, some pattern doesn't match as you can see in this demo.
These should be valid:
- 56/58a
- 18a - 19b
- 18a-19b
This should not be valid (because the number of digits is too long):
- 12345
This is my regex:
^[1-9]\d*(?: ?(?:[a-zA-Z]|[/-] ?\d+[a-z]?))?$