I am not good at Regex and need help creating expression to remove the '/' character at the end of a pageUrl: <https://qa.test.celtic.com/>
I have tried a few expressions but each time it either removes all the '/' characters or none. The string may change but the last '/' will always be present.
Have used [a-zA-Z:/.]$ but it returns the '/' character only.
I could the find the character in the string as a substring and then replace in the string using code but would rather find a regex expression that just took the string without the trailing character.