Dear Team,
I would like PVA to speed up support work by providing a direct link to multiple web sites (KB, Jira, Bugzilla, etc).
I have the search strings with the needed parameters but once a user provide an error string and save it as variable it is breaking the link due to the spaces.
See an example:

I have did some research and can see recommendations of using 'replace(variables('test'),' ','')" from power automate but could not make it work...
Can anyone provide another solution to the above (converting spaces to %20%) or a step by step guide to achieve that?
Any help will be greatly appreciated.
Thank you,
Shlomi