20
votes
Accepted
Notepad++ find and replace string
Ctrl+H
Find what: add name="(.+?)" password="\K
Replace with: $1
TICK Wrap around
Search Mode Regular expression
Replace all
Explanation:
add name=" # literally
(.+?) ...
2
votes
Is it possible to remove the line number column/black bar?
In Settings -> Preferences... -> Margins/Border/Edge you have to disable all off:
line number display
bookmark display
fold margin by setting style to None
1
vote
Extract number between XML tags and adding some numbers as single text line
Ctrl+H
Find what: <audGrainData>\s+<startSample>(.+?)</startSample>\s+<pitch>(.+?)</pitch>\s+</audGrainData>\s*
Replace with: $1 $2 10000 10200\n you can use \r\n ...
1
vote
Adding leading zeros and reduce decimal place in Notepad++
This is using Notepad++'s Macro recording function. It reads the multiple key sequences you want to repeat. Instructions:
Start at beginning of a line (press home key)
Tool bar -> select "...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
notepad++ × 2940regex × 752
find-and-replace × 205
text-editors × 125
windows × 122
windows-10 × 101
text-editing × 97
windows-7 × 93
keyboard-shortcuts × 73
plugins × 70
sublime-text-3 × 68
xml × 65
notepad × 65
syntax-highlighting × 57
command-line × 51
microsoft-excel × 50
html × 43
csv × 41
python × 37
search × 37
macros × 33
tabs × 28
fonts × 27
script × 26
microsoft-word × 24