in reply to Looking for appropriate Regex
$id =~ s/([a-z]) ([a-z])/$1,$2/;
Thanks a lot!
But,oops, I found a few exceptions, like: A B 1234 a c d
I tried to fix this by simply extending your script:
But this doesn't work!
Oh yes, it does!
I just swaped both lines, so that the extended line preceeds your line. And voilą!
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (303 votes). Check out past polls.