Search and Replace Query String /?/
I'm receiving a list of urls in google analytics with a /?/ at the end and need to replace it to the canonical url in Google Analytics.
I tried with a filter and search and replace "request URI":
search string: /?/
replace string: /
but this is actually sending all pages to the home page: https://www.viajablog.com/
Is there a right search and replace I could use?
Thanks and regards