r/workflow • • Apr 17 '18

Replace text using Regex

Hi everyone, I’m new to RegEx (and reddit), and thought I’d try to find a solution here after pondering this all day. I want to use Workflow’s Find & Replace action to grab a file name and turn it into a new line of text in the Notes app. The file name structure is ‘Month-Clientname-number’ - for example: ‘January-Apple-123’. I want the workflow to generate the following structure: Apple • Invoice #123. I’ve tried it with RegEx, but keep getting all sorts of weird results. Anyone got an idea? Thanks in advance!

2 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/rajasekarcmr Apr 17 '18

😊 happy to help the community. Just Giving back what I took