Consider this (very simplified) example string:
1aw2,5cx7
As you can see, it is two digit/letter/letter/digit values separated
digit/letter/letter/digit
Note: this will work with PyPi regex module, not with re module.
re
You could use the notation (?group-number), in your case:
(?group-number)
(\d\w\w\d),(?1)
it is equivalent to:
(\d\w\w\d),(\d\w\w\d)
Be aware that \w includes \d. The regex will be:
\w
\d
(\d[a-zA-Z]{2}\d),(?1)