I am trying to replace part of a url address when a link is clicked.
If the url is mysite.com/photos/ i would like to replace mysite.net with another url say yorsite.net/photos/.
If someone could please let me know how to go about this.
What i have tried so far
{{#if /\\/(mysite.net)$/.test.($jason.url.replace('mysite.net/',
'yoursite.net')) }}