lower-case-upper-case-index-of-last-index-and-replace