Hi, Attached is a patch for `isearch-mode'. With this enhancement, the user can easily see examples of what the groups in their regular expressions capture as they type them. Using this feedback should make it easier for the user to accurately build a replacement string when they invoke `query-replace-regexp' directly from `isearch-mode'. -------- regards, Andrew Helsley