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ą!
Read a book on Perl
Written a book on Perl
Contributed to the Perl source code
Debugged someone else's script
Played Perl Golf
Used regular expressions to save the day
Used Perl for a certain amount of time (please specify)
Invested a certain amount of man-hours in learning Perl (please estimate)
Visited at least x Perl related events
(Co)maintain at least x active (up-river) CPAN modules
Forgotten you were not Larry Wall
One can never truly know Perl
Results (312 votes). Check out past polls.