Search Messages in a Channel
Rocket.Chat search supports basic search commands, including the use of regular expressions. Regular expressions provide flexibility to search chat entries in any language, even those traditionally challenging, like "CJK" languages (Chinese, Japanese, Korean).
Basic Search Commands
You can use the following commands before or after entering search terms in a channel:
from:me- To search for messages only created by the current user.from:user.name- To search for messages created by a specific user. The username entered must be without spaces (i.e., "john.doe" and not "John Doe."). Search for any mentions of a user by searching for their username.has:star- Returns messages that the current user has starred.is:pinnedorhas:pin- Returns messages that have been pinned.has:urlorhas:link- Returns messages that contain a link.has:locationorhas:map- Returns messages that have a location attached.before:dd/mm/yyyy,after:dd/mm/yyyyandon:dd/mm/yyyy- Return message created before, after, or on the provided date. Dashesdd-mm-yyyyor dotsdd.mm.yyyycan be used instead of slashes.order:asc,order:ascend, ororder:ascending-Sorts messages by ascending timestamp.order:desc,order:descend, ororder:descending- Sorts messages by descending timestamp.
Select the Options icon of a message in the search result and click Jump to message to take you directly to the message.
Refer to these resources to learn more about regex(regular expressions).
Last updated