Help for this page

Select Code to Download


  1. or download this
    $a =~    s{\b([A-Z]{4,})\b}{ucfirst(lc($1))}eg;
                             ^^^ slash removed
    
  2. or download this
    $a =~    s#([A-Z])([A-Z]{3,})#$1\L$2\E#g;