If there is always going to spaces between them you might want to look at split
#an example ($title, $letter1, $num, $letter2) = split(/ /,$_);
Update: Fixed grammer error
"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce
In reply to Re: regex problem
by kutsu
in thread regex problem
by indie_campbell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |