Jump to content

Workflow to replace line breaks with commas


Recommended Posts

Hi Alfred community,

 

As a tool PowerPack lover, I tried to automize any manual task on my Mac. One missing one is to replace "line breaks” with "commas” from a list of items that I want to paste from my clipboard to Alfred and get it converted and then added to my clipboard. e.g. turn:

 

123

234

345

999

 

To --> 123,234,345,999

 

As I'm a beginner, I'd be great if someone already worked on this or something similar who could give me some hints.

 

Thanks!
R
Link to comment

 

Hi Alfred community,

 

As a tool PowerPack lover, I tried to automize any manual task on my Mac. One missing one is to replace "line breaks” with "commas” from a list of items that I want to paste from my clipboard to Alfred and get it converted and then added to my clipboard. e.g. turn:

 

123

234

345

999

 

To --> 123,234,345,999

 

As I'm a beginner, I'd be great if someone already worked on this or something similar who could give me some hints.

 

Thanks!
R

 

 

This can be done a lot of different ways, in a lot of different languages dependent on what you want to use. Are there any languages in particular that you are already familiar with or feel comfortable with?

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...