Jump to content

Newbie question: How to delete the last part of a clipboard entry


Recommended Posts

Hi there,

 

I'm new to Alfred's wonderful workflow routine and would like to create a workflow that combines my clipboard entry in Mac OS with a URL string. So far, so good. The tricky part where I would ask you for an idea is that my clipboard entrys of that specific case always got a tail like this

lorem-ipsum-tra-la-la	12345

where a tab and a number is copied into the clipboard that I don't need for the workflow.

 

So my question is: What would be an easy way to get rid of the hidden tab and the number at the end? Is this maybe build into Alfred and I've not noticed it or do I need a text manipulation bash or python script to do the work here?

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