Jump to content

Help creating custom web search - trimming characters


Recommended Posts

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.

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