The msfconsole includes an extensive regular-expression based search functionality. If you have a general idea of what you are looking for, you can search for it via search. In the output below, a search is being made for smb. The search function will locate this string within the module names, descriptions, references, etc.
msf > search smb