Jump to content

Clipboard history regex search


Meldiron
 Share

Recommended Posts

I believe lot of us are used to Alfred clipboard history and it saves a lot of time.

image.thumb.png.8d62044a6dd31596721d902878770dde.png

 

As a developer, I have it set to 7 days history and use it a lot of times to temporarily store IP addresses and passwords. For example, I know password starts with "R$" so I can easily filter it. Problem is, I cant remember the IP address and there is no way to search for it.

 

This problem could be solved using regex. I could filter all clipboards that contains 3 dots and easily find all IP addresses.

Link to comment
Share on other sites

  • 9 months later...

I miss this functionality too! Also right now it looks like search string is trimming whitespaces, so I can't event to search for some words.

 

e.g. in my search history I may have these items:

someFunction()
prefixSomeFunction()

 

I need to find usages of the first one, and I could've done this with a space prior the name, but it's ignored.

Edited by Philip_D
Link to comment
Share on other sites

3 hours ago, Philip_D said:

looks like search string is trimming whitespaces

 

It probably shouldn't do that.

 

Alfred stores its clipboard history in an SQLite database. As such, you can use wildcards (e.g. *oat matches “coat”, “boat” etc.), but regular expressions are out of the question, I’m sure. I can’t possibly imagine Andrew would consider pulling every row out of the DB to compare them to a regex.

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