@chunks = $str =~ /[^.]+(?:[.][^.]+){0,3}/g; [download]
Abigail
In reply to Re: regex needed for dot delimited string by Abigail-II in thread regex needed for dot delimited string by Anonymous Monk