Questions tagged [notepad++]
Notepad++ is a free and open source text editor for Windows. It is designed as a replacement for the built-in Notepad application.
notepad++
7,198
questions
0
votes
1
answer
33
views
RegEx - exclude specified list of strings that contain the string to match
exclude specified list of strings that contain the string to match
i.e.
match any string that contains SON - i.e. SON, SONAR, JSON, SON-O-GRAM, _SON
while at the same time exclude GRANDSON and SONY ...
-1
votes
1
answer
49
views
Removing text if part of it appears only once using Notepad++
I'm able to delete text using Regex, but is there a way to do it conditionally if a particular part of the text appears only once in the file?
For example, I will get all the following results if I ...
-1
votes
1
answer
59
views
Regex: separate class days and times into individual lines [closed]
I have a ~2000 line data set of class dates and times, example:
WRF 9a-5p
WR 9-10:15a
WR 7:15-8:45p
WF 9a-12:10p
WF 9:30-11:30a
WF 8-10:45a
WF 12-2:45p
Su 9a-6p
WF 10-11:50a
W 9a-12p
...
1
vote
2
answers
79
views
Regular expression to find and replace full matches (consecutive repeats, preserve delimiter)
It's necessary that when searching, complete matches of words/phrases are found and replaced with new ones:
If the value is blank, then delete.
If the value is not blank, then replace it with a word/...
0
votes
0
answers
16
views
How to Remove all content of a line after specific string. Non-Inclusive [duplicate]
I am trying to remove all the contents of a line in notepad++ after targeting a specific string. My string also holds strange characters and I can't quite get a grip on regex to do this. Trying to ...
0
votes
0
answers
18
views
Re-map remove current line shortcut in notepad++
I would like to re-map the "remove current line" shortcut (Ctrl+L) in Notepad++ to be the same as Visual Studio (Ctrl+X), but I can't find an entry for it in the Shortcut mapper. Is this ...
-3
votes
1
answer
41
views
Find and Replace in Notepad++ for the multiple instance of search string [duplicate]
I need to find and replace in multiple files in the same directory(Aware of Find in Files tab) for the below scenario in Notepad++.
File1 Find:
1. REM INSERTING INTO TABLE1
2. SET DEFINE OFF;
3. ...
0
votes
1
answer
25
views
Remove the digit(s), the comma and the space at the left part of the line
Sample data:
(17, ' Antonio Moreno Taquería (Restaurant) - 'Page 2' <br> ('4 februari 2024'),
(1, ' Cactus Comidas para llevar (Pizza) - 'Page 45' <br> ('7 april 2023'),
(58679, ' ...
0
votes
1
answer
93
views
running a ruby script in notepad++
I've pasted the following code in notepad:
puts ("enter a number")
x = gets.to_i
puts ("enter a second number")
y = gets.to_i
result = x + y
puts result
I've also created the ...
0
votes
0
answers
95
views
Notepad++ fails to load the plugins folder
Notepad++ plugins folder does not load properly.
I updated Notepad++ to v8.6.2. I use Windows 10 Pro, 64 bit. I have found that if I open Notepad++ directly using its exe file, then plugins fails to ...
-1
votes
1
answer
171
views
Notepad++ How to configure settings so that all of the tabs align, and all text and spaces are equal size
I am writing a python code using Notepad++ and am noticing that when I tab comments to the right of the code they are not lining up visually on the screen. Looking at the column number of the first ...
1
vote
1
answer
47
views
How to remove the leading space and replace white spaces by tab in one go in Notepad++?
Try to manipulate the text file containing
-1. 1 1 4.34E+4
-1. 2 1 4.73E+3
4. 1 1 4.78E+3 2.8E+3
4. 7 1 2.62E+3 1.4E+2
4. 8 1 2.22E+6 7.6E+...
1
vote
1
answer
56
views
Find and replace in multple lines (URLs of different sizes), up to the last slash, while keeping the file names
I've been searching and nothing seems to be an exact answer to my problem, some are different or just incomplete solutions, as they are wrapping around the whole file on search and merging links ...
0
votes
1
answer
123
views
Invalid schema or missing namespace - XML validation via notepad++
I'm trying to validate an XML file via notepad++, and I'm getting following error:
Invalid schema or missing namespace
When I investigated further via another XML validator I get following errors:
...
-3
votes
1
answer
181
views
An easier way to run Fortran on Notepad++ [closed]
Now I am writing Fortran on Notepad++, and every time I want to execute my program (namely, test), I would open cmd, change the path to current dictionary, type gfortran test.f90 -o test, finally type ...