Skim the clipboard

#2.67 / 3 rate

Skim the clipboard

61 users

2018-02-15

François R.

Extension Information

5 star
100%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Permissions

Description

Clipboard filtering with regular expression

This add-on use regular expression templates to filter a text when it is pasted or copied.
You may paste & filter when you paste a text modified by a regular expression in a form field in the browser.
You may copy & filter to copy some text from a web page and want to use it modified by a regular expression in another application.
You may also apply a regular expression modifier to change a text already in the clipcoard. The changed text being kept in the clipboard so that it can be pasted in the address bar for example.

Example 1: Suppose I want to filter only words that are longer then four characters to use in search engine:
Open the Skim the clipboard option page click on Add a row (check box field) and enter the following in the table:

- set name: >4,
- set regular expression template: [\w\u00c0-\u010f]{4,}
- Regular expression modifier: gi
- set keep match or substitute: checked
- Keep in clipboard: unchecked
- Shortcut: two

Click on Save all and close the option page.

Close the options, and select and copy a text from the web page you want to search, click in the search engine field, right click and select
Paste filtered - >4. Only the words of four charaters or more are paste in the field.
You may also simply press Ctrl+Shift+B (PC) / Command+Shift+B (Mac) in the form field to paste the modified clipboard content.

Example 2: Suppose I want to paste the host url address (https://dev.opera.com/) in the address bar, using any link location from this site, eg. (https://dev.opera.com/extensions/publishing-guidelines/#create).

Open the Skim the clipboard option page, click on Add a row (text field) and enter the following in the table:

- set name: host,
- set regular expression template: (^http.?:\/\/[^\/]+)(.*$)
- Regular expression modifier: gi
- set keep match or substitute: $1
- Keep in clipboard: checked
- Shortcut: one

Click on Save all and close the option page.
Copy a page url from the address bar or on the context menu Copy link Address. Click on the page and right click on Replace in Clipboard > Host. The clipboard content is changed to the host url.Click in the address bar and (regular) paste the modified url that you can paste in the address bar.
You may also simply press Ctrl+Shift+A (PC) Command+Shift+A (Mac) in the web page to modify the clipboard content.

Reviews

Kaspar K
Kaspar K

Might be tricky to set it up, but if you figure this out it's exactly what I needed to optimize my workflow - specially with the shortcuts also working (I'm using now CTRL+SHIFT+X to make this special copy)

Roemer Lievaart
Roemer Lievaart

We needed this, it works great both in Opera and Chrome (even though it is differently). To configure the shortcut keys (this is not documented and hard to find) just go to: chrome://extensions/shortcuts

Similar extensions

Text Tools
Text Tools

https://www.text-tools-online.com

LinkStash Bookmark Manager
LinkStash Bookmark Manager

https://www.xrayz.co.uk

TempText
TempText

ramchan5916

Clipboard History Manager
Clipboard History Manager

lunu.bounir

Searchable Bookmarks Manager
Searchable Bookmarks Manager

Jeremy Dubon

SelectionSK
SelectionSK

Andrey Shemetov

append-to-clipboard
append-to-clipboard

brettz9

SaveMyClips
SaveMyClips

sagnew92

Quick Bookmark to Folders
Quick Bookmark to Folders

krystof1000

Text Toolkit : (AIO Text Tools)
Text Toolkit : (AIO Text Tools)

https://www.madeintext.com

Bookmarks HotList
Bookmarks HotList

https://mythical5th.com

Append Text To Clipboard
Append Text To Clipboard

kppk05