Ad
  • Default User Avatar

    Nice. Probably the shortest solution.
    $& means here a special character combinations to insert the whole match (which is an uppercased letter in out case). And of course we prepend each uppercased letter with a space