Hi!
Is there a way of using Apple Shortcuts to find and replace text with in a text string.
For example: I use inline images in Markdown documents.
The image file name might be something like:
"
For the Markdown preview to display this image it needs to be in the form:
"
So I am trying to write a Shortcut that will take to original file name from the Clipboard and replace every "space" with "%20"
Can this be done.
By the way, I am Ok with the reading the Clipboard content into a variable and copying the variable back to the Clipboard. It's just the find and replace I'm having difficulty with.
Regards,
Peter
Is there a way of using Apple Shortcuts to find and replace text with in a text string.
For example: I use inline images in Markdown documents.
The image file name might be something like:
"
The image I want to display.jpg
"For the Markdown preview to display this image it needs to be in the form:
"
The%20image%20I%20want%20to%20display.jpg
"So I am trying to write a Shortcut that will take to original file name from the Clipboard and replace every "space" with "%20"
Can this be done.
By the way, I am Ok with the reading the Clipboard content into a variable and copying the variable back to the Clipboard. It's just the find and replace I'm having difficulty with.
Regards,
Peter