Jump to content

Help creating custom web search - trimming characters


Recommended Posts

Posted

Hi,

 

I am creating a custom web search where the input query has 3 irrelevant characters in the beginning.

eg. BUG1234. so when I double click and copy, the BUG1234 is copied into my clipboard. But only 1234 is

relevant. I used to specify www.mywebsite.com/problems/{query}, but this no longer works because of the

3 irrelevant characters.

This is a valid query www.mywebsite.com/problems/1234 whereas this is not

www.mywebsite.com/problems/BUG1234. how do I trim the first 3 characters ?

 

Thanks.

Posted

Hi @maindoor, welcome to the forum.

 

That can't be done with a Custom Web Search, I'm afraid: they don't allow you to edit the query.

 

You need to create a workflow and use a Replace utility to alter the query. Here's an example. It's not very useful because it does exactly what you said (searches mywebsite.com).

 

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