Function: isearch-edit-string

Edit the search string in the minibuffer.
The following additional command keys are active while editing.

C-j to resume incremental searching with the edited string.
RET to do one nonincremental search.
C-s to resume isearching forward.
C-r to resume isearching backward.
C-M-i to complete the search string using the search ring.