Searching for URLs in messages using regex

While using the search bar, I’m try to find a URL that I posted somewhere that looks like this https://wlib-text.fr/?nameid=45561828
I can’t seem to find it while using anything other than
*wlib*, i’ve tried, *wlib\-text*, *wlib-text*, *45561828* or even the whole URL with quotes.

Are regex fully supported in the search bar? I can see that the wildcard * certainly is.

Thanks.

Hi @luisjomen2a and sorry for the late reply, I just stumbled upon this old topic here.

Unfortunately, Mattermost search does not support Regular Expressions and there are some limitations based on the database backend you’re using when using database search, see Search for messages — Mattermost documentation

F.ex. PostgreSQL does not support searching for URLs at all.

I know this topic is old, but it might still be relevant, so if you’re on the free edition, you could try to enable the experimental Bleve search which might help, just give it a try:

https://docs.mattermost.com/deploy/bleve-search.html