|No such thing as a small change|
Simple substitutionby eversuhoshin (Sexton)
|on Mar 18, 2011 at 03:36 UTC||Need Help??|
eversuhoshin has asked for the
wisdom of the Perl Monks concerning the following question:
I need help with simple substitution. I have financial report files that are in format of "name_year." e.g. (GE_2002).
Unfortunately, somewhere miscoded such as Goldman_Sachs_2002.
Can anyone help me write a substitution code that only keeps the last underscore "_"?
So Goldman_Sachs_2002 becomes GoldmanSachs_2002.
Thank you so much for your time and consideration.