$s = join '<br>', map { /(\d{5})(\d{5})(.*)/ && "$1-$2-$3" } ($s =~ /\d{15}/g);
-- Chip Salzenberg, Free-Floating Agent of Chaos
In reply to Re: A regex question...
by chip
in thread A regex question...
by thezip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |