Jump to content

Use Transform Modifiers in Web Search queries


Recommended Posts

I have a custom Web Search that encodes spaces as hyphens and I'd like to trim whitespace from the beginning and end of the string before that encoding.  In this case I'm getting the string into Alfred via a workflow that uses the selection and I sometimes get extra whitespace.  I was hoping I could do something like:

https://www.dndbeyond.com/spells/{query:trim}

but that doesn't seem to work.  I think it could be useful to enable the Transform Modifiers in Web Search URLs.  

Edited by hmelman
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...