$ perl -lwe '$_="hi MOM and DAD"; print; s!([A-Z]+)!$1!g; print' hi MOM and DAD hi MOM and DAD