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ą!
I have absolutely zero preference
Results (66 votes),