I\'d like to change the following patterns:
getFoo_Bar
to:
getFoo_bar
(note the lower b)
Knowing
If you want to write everything in lowercase just after underscore, than this would work for you:
echo getFoo_Bar | gawk -F_ '{print tolower($2)}'