Click on Case Matching to use the case of words in the search string for the case of words in the replacement string.