User Tools

Site Tools


action:Search_and_Replace_Clipboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
action:Search_and_Replace_Clipboard [2015/07/09 14:25]
jimmyhartington created
action:Search_and_Replace_Clipboard [2015/07/12 20:35]
mirazjordan Expand with examples
Line 1: Line 1:
-Search and replace ​the system or a Named Clipboardoptionally ​using regular expressions, and allowing Text TokensThe replacement can also include $1 tokens for regular expression ​replacements.+The Search and Replace Clipboard action allows you to search ​the system ​clipboard ​or a named clipboard for text and replace the found text. 
 + 
 +{{:​action:​searchreplaceclipboard.png|}} 
 + 
 +You can search for: 
 +  * Stringsmatching the case. 
 +  * Strings, ignoring the case. 
 +  * Regular Expression, matching the case. 
 +  * Regular Expression, ignoring the case. 
 + 
 +Select where to search ​using the //Search// pop-up. 
 + 
 +Select the kind of search to runfrom the //using// pop-up. Then enter the text to search for in the text area. 
 + 
 +Enter what to replace the found text with in the //and replace with// text areaUse the arrow at the right of the text area to select variables, calculations,​ clipboards and other tokens ​to enter in the text area. 
 + 
 +Examples: 
 +  * Search ​for a string such as Monday and replace with Tuesday. 
 +  * Use a regular expression ​to search through a list of names where the last name appears first and switch them to be First Name Last Name. In its simplest form this could look like the following:​ 
 + 
 +Search for: (.+) (.+) 
 +Replace with: $2 $1 
 + 
 +{{:​action:​searchreplaceclipboardexample.png|}} 
 + 
 +Which results in: 
 + 
 +{{:​action:​searchreplaceclipboardresult.png|}}
action/Search_and_Replace_Clipboard.txt · Last modified: 2017/09/07 06:01 by peternlewis