I recently had a need to remove a forward slash (“/”) from the end of a URL text string using Nintex Workflow. Here are the steps to follow:
- Insert a Regular Expression action into your Nintex Workflow.
- Configure it with the following settings:
- Pattern = /[^/]*$
- Replacement text = Keep this empty
- Input text = Insert your URL text string
- Store result in = Text workflow variable
- You can then use the workflow variable as you need it.
Worked perfectly! Thank you so much for sharing!