From the htop manual:
F3,/ Incrementally search the command lines of all the displayed processes. The currently selected (highlighted) command will update as you type. While in search mode,pressing F3 will cycle through matching occurrences.