Jump to content

Parse string into multiple variables?

Recommended Posts

Hi folks --


Is there an Alfred workflows action or idiom for parsing a string into multiple variables? I'm trying to get something like "2014-09-15 - Wells Fargo - Monthly Statement - Account 1234.pdf" and extract out "Wells Fargo", "Monthly Statement", and "Account 1234" into separate variables. I know how to write the regex for this using groups, but I'm not clear if there is a way to have those groups end up in workflow variables that can then be passed on to subsequent steps in the workflow. Any guidance/tips for me?


Thanks in advance!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...