I have an input URL that looks something like this:
http://localhost/20north/Numark/product/1/B$@!00$@!4JPPO94$@!
While redirecting this to a new URL, I need to find and remove all occurrences of "$@!" from the last part of the url, so that it becomes:
http://localhost/20north/Numark/product/1/B004JPPO94
Note: The last part can be anything and not just B$@!00$@!4JPPO94$@!. Also, the position of $@! can be anywhere in that last part.