Difference between revisions of "Notepad++"

From wiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
;Search and replace with regular experssions
 
;Search and replace with regular experssions
:Search: <code>^(.*?)A</code> ;Find the first 'A'
+
:Searchbox: <code>^(.*?)A</code>; Find the first 'A'
:Replace: <code>\1B</code> ;Replace the 'A' with 'B' leave all in front if it untouched.
+
:Replacebox: <code>\1B</code>; Replace the 'A' with 'B' leave all in front if it untouched.
 +
 
 +
;Where to edit commands in the run-menu
 +
:C:\Users\<username>\AppData\Roaming\Notepad++\shortcuts.xml

Revision as of 12:33, 24 June 2020

Edit-Line Operations-Join Lines
What you would expect (remove line breaks)
Search and replace with regular experssions
Searchbox: ^(.*?)A; Find the first 'A'
Replacebox: \1B; Replace the 'A' with 'B' leave all in front if it untouched.
Where to edit commands in the run-menu
C:\Users\<username>\AppData\Roaming\Notepad++\shortcuts.xml