Skip to main content

iOS Shortcuts Remove trailing spaces

Method

Sanitize user input

Notes

When you use match to check the user input the output is a sequence of characters you need to combine before using regex expression to remove trailing spaces