That adds a terminal "-" whenever the string's length is a multiple of 3:
-- Ken
In reply to Re^3: Regex split string into n-length (\K 5.010)
by kcott
in thread Regex split string into n-length
by hankcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |