All Questions
117
questions
-2
votes
1
answer
69
views
Wildcard search for colours hex code in Notepad++
I have an application that produces object files. Each object has a .mtl text file.
These .mtl files contains a 6 figure hex code defining a colour. The application generates random colour hex codes, ...
0
votes
1
answer
61
views
NotePad++ - Replace 100+ unique lines in file with new unique lines
I am trying to take a large text file and replace about 140 rows of the data with brand new rows of data. I have all the rows I need to replace in a text file, along with the new rows, but can't ...
0
votes
1
answer
247
views
Regex Search and Replace specific text on a csv using Notepad++
I need to do a search and replace on a csv file using regex on Notepad++ or TextPad to replace the text on a specific column if another text is met. For example, I have this line:
Search for price 50....
0
votes
1
answer
44
views
RegEx - How to Add Anything After Selected Characters
I am trying to add rel="nofollow noopener" target="_blank" to all the links in HTML.
Here's the example HTML code:
<li><a href="https://somewebsite.com/">Some ...
-2
votes
1
answer
36
views
How to find lines that contain 3 specific characters?
Is there a way to remove lines that contain three specific characters?
For example the characters should be U S E
So for these lines, it should just remove USER AND UDES:
USER
USAD
UDES
Thanks
0
votes
1
answer
606
views
Notepad++ show results of search in one row even when occurs several times in text
I have some Testlog-files and want to check them with notepad ++. E.g. I am looking for the Word ERROR while using "Find all in current document" This gives me a row for each occurrence. But ...
-1
votes
1
answer
356
views
Copy and mark more than one line at once in notepad++
I have a big text file in which I search for lines I need to delete. I manually copy one line than put the mark button and repeat it again, I want to know if it possible to put all lines or at least ...
1
vote
1
answer
74
views
Replacing all instances of a given string inside an HTML tag
I am looking for a way to search for a specific string inside an HTML tag and replace it. Specifically, I have an HTML source code in which the task is to search for all instances of class=" ...
0
votes
1
answer
195
views
Mark words in notepad++ including dash (-)
I would like to mark in Notepad++ the sql scripts in a text log. The sql files have this format in the text:
AAAAAAAA.BBBBBBBBBBB.sql
So what I execute is this sentence in search menu:
\w*.sql
As I ...
1
vote
1
answer
154
views
text: "intelligent" search and replace [closed]
I want to do a "bulk" search and replace (notepad++) in many text files but that search and replace has to be "intelligent" and do the replacement in the following way:
I search ...
-1
votes
1
answer
74
views
How to replace some characters after a specific character to another specific character in one big sql line in notepad++
I have a big sql file with thousand user something like this:
('[email protected]','{SSHA512}JWHCqHzazH2vGneLPfhMKkoAamzvxdNCWYOlhZ+uDx36jHdoMXwQmbEemvUMn7ZG6c9+22noXjjb2hAb99/5A/slscDJPKav','','...
0
votes
0
answers
189
views
How to display the found line at the top of the window in notepad++
When I am editing certain files I open them in Notepad++ and search for patterns. The line with the next match then shows up in the middle of the window, or if it was already inside the window it ...
0
votes
2
answers
75
views
Notepad++ Regex Search XML argument for anything but certain word
I have a well structured XML file with several grouped units, which contain a consistent number of child elements.
I am trying to find a way, through Regex in Notepad++, to search throughout all of ...
1
vote
1
answer
30
views
Notepad++: Complex Find and Replace
I have as follows:
T47101 UNIPROID FGFR1_HUMAN
T47101 ECNUMBER EC 2.7.10.1
T47101 SEQUENCE ...
0
votes
0
answers
142
views
Convert positive lookahead regex to negative lookahead one?
as the title goes, I want to change the script containing positive lookahead into negative one.
my script is
^[^\S\n]*\n(?=[^\n]*\S)
of course it needs to be identical in search task.
the reason to do ...