I use/maintain Java, C and Perl code on a daily basis. I guess my skills are still up to date. If you can take the punishment learning PERL you will be handsomely rewarded as it is to me the most useful thing in the world. I can do things with PERL (regex hashes) on one line that would take 10 to 100’s of lines of c or java code.
Ruby has great regrex support built in. Java (finally) now has library support now.