in reply to Regex Question

I'd go about this in two steps: First remove any whitespace between letters, and then split the rest up into variables. Like so:

s/([a-z])(\s)([a-z])/$1$3/ig

will remove any whitespace as long as it is between letters. Then, let's fill the variables:

m/([a-z]+)\s(\d),?\s?([a-z]+)\s(\d)/ig

(Note the placement of the brackets.) This should put stuff into your variables in the way you want it.

--cs

There are nights when the wolves are silent and only the moon howls. - George Carlin