On Apr 18, 2012, at 2:09 PM, Aseem Kishore wrote:

> Basically, I want to copy a string, modify the string by removing some
> characters from the front of the string, and then have that saved
> backed to the clipboard so when I paste, it's already edited.

You could create a trigger that runs this command:

    pbpaste | sed -e 's/http:\/\/\(.*\)/\1/' | pbcopy

But this gives me an idea for a new (more general purpose) action. We could 
have an action that pipes text through a specific command and returns the 
result. I’ll put it on the to do list.

-- 
Rob McBroom
<http://www.skurfer.com/>

Reply via email to