So I have a case where i want to get every 5 character code which is delimited by /
Problem is the codes itself can contain the delimiter so I can't use something like ([^\/]+)
E.g.
07070
should give me07070
07070/01010
should give me07070 01010
0/0/0/BBBBB
should give me0/0/0 BBBBB
AAAAA/BBBBB/CCCCC
should give meAAAAA BBBBB CCCCCC
Any ideas how i can use a regex to achieve this?