It avoids passing the separator by using non-capturing parens and a "zero-width" match. (And relies on there being an even number of characters.)print join(':', split /(?=(?:..)+$)/,'00a0c801adc6'),"\n<BR>";
In reply to Re: More Help with Regex
by petral
in thread More Help with Regex
by lucky1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |