Rather than a regex you could also use substr:
my @array = (); while($string) { push(@array,substr($string,0,4,'')); } print join(" ",@array);
Chris
Lobster Aliens Are attacking the world!In reply to Re: Reg Exp Help
by cfreak
in thread Reg Exp Help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |