All Questions
120
questions
1
vote
2
answers
28
views
How to put the same character in the beginning of all rows using regex?
I have a list of 10 digit numbers in a txt file.
I want to put the same character in the beginning of all rows using regex, without changing the numbers.
I also want to put the character at the end of ...
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
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 ...
1
vote
1
answer
110
views
how can i add $ sign just before matching tag of span [closed]
<span class="xyz">z
<span>abc</span>
<span>cdf</span>
</span>
This is my sample code
and must replace like this
<span class="xyz&...
0
votes
1
answer
281
views
Compact syntax to exclude file extensions from search
Basically I wonder if there's a shorter way to do this:
*.* !*.exe !*.zip !*.jar
Problem is, I write software that generates files with extensions I can't predict - neither in what I want to exclude, ...
0
votes
1
answer
50
views
What regular expression can be used to find negative decimal values in a next file using Notepad++?
I looked online but couldn't find what i needed. I saw people post similar requests here so i joined. I use text file to track money spending and want to be able to find and track specific ones; so i ...
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 ...
0
votes
1
answer
646
views
Notepad++ RegEX how do I append a character based on start of the character and before a character?
I would like to append _OLD to the end of each strings that starts with SR_ but before the symbol ' or without it
For example my text is the following:
SR_Apple
When the 'SR_APPLE' rotten, we must ...
0
votes
1
answer
2k
views
Inserting CRLF into a string sequence in Notepad ++
I have a text file that has incorrectly placed line breaks. The position where the line break should be placed goes like this ...xxxXxxx... (every x is a character [a-z] with the capital X being a ...
2
votes
1
answer
52
views
In regex (regular expressions), is escaping a closing square brace (]) needed when the opening square brace ([) is escaped? [duplicate]
In their excellent answer to this Stack Overflow question, regex guru Wiktor Stribiżew provided this regex:
(?:\G(?!^)|^\[bar])(?:\s*\R\w+=|[^\w\r\n]+)\K\w+
Within this expression, they use:
^\[bar]
...
0
votes
0
answers
301
views
Find text and increment an specific number of it with Notepad++ or any other method?
first of all I have very little programming knowledge.
I have over 800 map.json files of RPG Maker that I moved on my project, to merge them into my project I had to rename the files from 1~800 to ...
0
votes
1
answer
106
views
Use Find-Replace to wrap strings that start and end with the same characters
Using Notepad++, this is to wrap HTML <img ... /> tags with <p> tags, but each full <img ... /> string contains different characters.
What I want to do is use Notepad++ "Find&...
-2
votes
2
answers
606
views
Find lines from number of characters
Hello all i have a file with 71989 lines in notepad++, most of the lines have 11 commas (,) because i have 11 columns but when i load my file in SQL i get some errors because some lines have 9 records,...
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
1
answer
99
views
Notepad++ replace with double quote character
i have a sample case, in a schema database file let say "demo.sql". inside of this file there are so many SQL syntax to create table, and i need to find :
tableA_1
tableB_1
tableC_1
and ...