Blacklist: How to exclude URL with a special parameter like *?example=1*

How can I exclude URLs from the index or the results lists, which have a special get parameter in the URL right of the “?”, for example host.com?example=1 ?
I tried:
example
.[?&]example=./.*
.example/.*
but it’s not working, in no URL with no get parameter. But blocking other parts of the URL is working.
Trying the same with a Solr Filter query: -sku:example is also not working.
I want to block for example: https://transition-news.org/?rubrique=38&parent=14&debut_a=780&mot=124

If I’m reading correct
\?.*
Sorry for bump but might help others.

1 Like