schanzentroll Posted March 20, 2022 Posted March 20, 2022 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?
Pearcen Posted March 20, 2022 Posted March 20, 2022 (edited) I'd use a replace block and some regex with its input being the clipboard entry Edited March 20, 2022 by Pearcen
schanzentroll Posted March 20, 2022 Author Posted March 20, 2022 Hi Pearcen, that worked perfectly. Build with Alfred and no need for external scripts. Love it. Pearcen 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now