User Tools

Site Tools


action:Search_and_Replace

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
action:Search_and_Replace [2017/09/07 22:44]
peternlewis
action:Search_and_Replace [2019/06/25 07:52]
peternlewis
Line 16: Line 16:
  
 Enter what to replace the found text with in the //and replace with// text area. Use the arrow at the right of the text area to select variables, clipboards and other tokens to enter in the text area.  The replacement text can refer to captured matches using either `$1` or `\1` notation (eg `%Calculate%CHARACTERS(\1)%` would be the count of characters in the first capture match (v8+)). Enter what to replace the found text with in the //and replace with// text area. Use the arrow at the right of the text area to select variables, clipboards and other tokens to enter in the text area.  The replacement text can refer to captured matches using either `$1` or `\1` notation (eg `%Calculate%CHARACTERS(\1)%` would be the count of characters in the first capture match (v8+)).
 +
 +Like other [[/​Text_Fields|Text Fields]], you can use text case conversion escape sequences like `\U` and `\L` in the replacement field.
  
 Select where you want the result to be saved (back to the source, or to some other variable or clipboard or file). Select where you want the result to be saved (back to the source, or to some other variable or clipboard or file).
Line 25: Line 27:
 Search for: (.+) (.+) Search for: (.+) (.+)
 Replace with: $2 $1 Replace with: $2 $1
- 
  
 {{:​action:​search-replace-example.png?​nolink&​516|}} {{:​action:​search-replace-example.png?​nolink&​516|}}
action/Search_and_Replace.txt ยท Last modified: 2023/09/12 05:30 by peternlewis