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
-1
votes
0
answers
18
views
Returning a wrong result when trying to add a value to the match by the PythonScript in Notepad++ [duplicate]
some of the GPS coordinates in my document are wrong.
The coordinates in the document shown like: "-246.129464", "-246.129515", "-246.12978"
But the real coordinates have ...
-1
votes
2
answers
65
views
Regex match for character class and new line or end of data
I need an regular expression to match every line in a file with = followed by new-line or A or B or C.
For example, I want the search to give me
They're Coming=
and
Pipeline=A
but not
#https://www....
2
votes
1
answer
41
views
Move Text Following Comma-Separated Numbers to a New Line
I have a list like the following:
32,981,250BLACKOPS
32,981,250
28,718,750BLACKOPSI
28,331,250BLACKOPS
29,493,750BLACKOPS
Note that this is only a sample list to explain my problem.
I want to move ...
-2
votes
1
answer
50
views
How do you Replace all RS line breaks in Notepad++ with /n
I am trying to create a /n line break in notepad++ to replace the RS line break to make an actual /n line break to see the code on multiple lines. Is there an ASCII code or something like that to ...
1
vote
1
answer
33
views
regex negative lookahead how to find a string that ends with a series of digits and a parenthesis?
I have this regex for Notepad++ which works to find the strings I am supposed to find which are all lines ending each with a number in brackets.
^.*\(\d*\)\r\n
Problem is:
Those are the lines I want ...
1
vote
1
answer
35
views
Macro for notepad++ - nested opening {} with indentation
I'm trying to create a macro to quickly enter two matching braces {} with an empty line in between that has the deeper indentation.
My current macro performs this sequence:
{
Enter
Enter
}
↑
Tab
...
0
votes
0
answers
17
views
Extract content from Notepad++
Hi I am trying to extract mcc and mnc along with their values from a log file defined under "userLocationinfo: class UserLocation{" Can anyone help with that? The overall file is big and lot ...
0
votes
2
answers
31
views
notepad++ regex mode: insert new line to some hex code
i have hex code below.
the regex find code can match the string, but replace code wont keep the original string.
my question : how to fix replace code to keep original string.
thx
hex txtfile:
...
0
votes
2
answers
37
views
How to Bookmark Normal and Decimal Percentage Numbers in Notepad++?
I'm trying to bookmark lines that contain percentage numbers in Notepad++. Specifically, I want to bookmark both whole number percentages (like 9%) and decimal percentages (like 4.5%).
for example I ...
-3
votes
1
answer
61
views
Regular expressions in Notepad++: find start string - middle string - end string, even if start and end occur multiple times [duplicate]
I have an XML file where I would to select blocks if and only if they contain a certain value:
<outer block>
<name>A</name>
<inner block>Hello</inner block>
</...
0
votes
1
answer
23
views
How to Bookmark Lines Before and After a Target Line Until a Specific Separator in Notepad++?
I have some text like following:
-------------------------------------------------------------
2021-05-18 - Tortrettert.webm 521.483
"Totrrtp" : 5 times
"GDtretP" : 17 times
-------...
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
30
views
How to set Notepad++ to open existing ISO-8859 formatted files assuming the CP1254 (Windows-1254) encoding
I have lots of files encoded in CP1254 (Windows-1254 ANSI/ISO Turkish). When I double click such a file, I want Notepad++ to display them correctly. However, Notepad++ selects the default encoding of (...
4
votes
3
answers
79
views
Use Notepad++ to Capitalize Letters in Snake Case
I'm using Notepad++ to find/replace and can't quite get what I need.
My Current Output is being generated with ^(.+)$ as my Find and ,dim_date[(\1)].alias\((\1)\) as my Replace. It's close, but I can'...
-2
votes
1
answer
31
views
search contain keywords in notpad++ [closed]
I want to search for a description string that has a keyword. Examples are the current output.
description xxxx
policy-group APPS
description yyyy
policy-group APPS
description zzzz
policy-...
0
votes
0
answers
18
views
Custom button or menu entry for toggle of: File Status Auto-Detection
For some log files the "File Status Auto-Detection" is annyoing. For other (log) files, it is great.
Is there a way to provide the option "File Status Auto-Detection" faster/easier ...
0
votes
0
answers
20
views
Notepad ++ not saving ftp/sftp remote files
i usually use notepad++ for coding , from last 3 days i am receiving this issue that notepad++ is not saving ftp files suddenly shows failed. i am using hostgator shared hosting and i have 2 accounts ...
-2
votes
1
answer
46
views
Notepad++ if a line starts with anything but a 12 digit number backspace the line
I have a list of over 200,000 lines. It is mixed with the majority of lines starting with 12 digit number, and the remainder starting with any character. I want to keep all the lines that have a 12 ...
0
votes
2
answers
75
views
Can I use Notepad++ to remove line breaks from strings and keep things neat?
I'm working on translating an old game. I have the strings displayed/organized like this
This is a
sentence that you
really need to read.<End>
This is also a
sentence that you
need to read.<...
0
votes
1
answer
46
views
Notepad++ regex to insert character to multiple places in the line
I have a structured file where every line has the same format. I need to insert the same character multiple positions in the line and apply the same to all the lines. I have a list of positions where ...
-2
votes
1
answer
90
views
Regex to match final word of first line of two-line subs
I'm trying to fine-tune a regex to quickly check if the auto-break feature of Subtitle Edit has produced any funny-looking breaks syntactic/semantic-segmentation-wise.
I have put together an extensive ...
0
votes
2
answers
75
views
Reverse Right to left text with examples [closed]
I want to get this
The text comes as a sample like this
sample
This:
hello all my name nora
like this:
nora name my all hello
Of course, the important point is that this is not just for one text, I ...
0
votes
0
answers
19
views
Notepad++ change color of text when you type an open quote but haven't typed the closed quote yet
I'm using Notepad++ 8.6.5 (64-bit) for Windows, editing a ".bas" file (which is configured using the style for "FreeBasic"), and am finding that when typing something within quotes,...
0
votes
1
answer
30
views
Editing multiple text files in Notepad++, how do I add an ending to all lines that begin with a certain word?
I am editing multiple text files at once in Notepad++. These are music lyric files. What I want it to do, for instance, is find all lines (in all files) that begin with the string: "[Artist:"...
-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
36
views
Reverse text by rgx notepad++
This is my text And I want it to be changed with the desired sign or word that I put between the text
hello my name $ is alex jef
I want it to be like this
is alex jef $ hello my name
I test this:
...
-2
votes
1
answer
36
views
Notepad++: How to replace a string in the following line when the first string is found in the previous line?
I'm using Notepad++ to edit an XML file, and I'm trying to figure out how to make an edit to multiple records within the file. The problem is, I want to remove a specific string from a following line ...
0
votes
1
answer
40
views
Notepad++ default instance to open new files
I usually have two windows (instances) of notepad++, each one with specific tabs. One is for personal things, the other for work.
I want notepad++ to open new files in the "work" window by ...
1
vote
2
answers
84
views
Different result between notepad++ XML Validation and C# XMLDocument.validate
I'm trying to enforce a uniqueness constraint for a combination of attributes across two elements using an XSD. The constraint works correctly in Notepad++ but not in my C# application.
I've added the ...
0
votes
0
answers
56
views
Regex \K escape sequence in Notepad++ does match what I target but can't replace the match
Bug or feature?
Example:
^(?:[^a-zA-Z\s\(]+)(?: · [^a-zA-Z\s\(]+)*\K[a-zA-Z]+ (?=(?:(?: · [^a-zA-Z\s\(]+[a-zA-Z]+ )* 【 [^ ]+(?: ·[^ ]+)* 】)?\r\n)
will match the transliterated parts "shibashiba&...