Skip to main content

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.

-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 ...
Light's user avatar
  • 23
-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....
Rob's user avatar
  • 15
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 ...
Pubg Mobile's user avatar
-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 ...
Matt Dolly's user avatar
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 ...
Simone Spinozzi's user avatar
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 ...
imhvost's user avatar
  • 8,854
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 ...
Muhammad's user avatar
0 votes
2 answers
30 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: ...
changjx's user avatar
  • 357
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 ...
Pubg Mobile's user avatar
-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> </...
AVS's user avatar
  • 111
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 -------...
Pubg Mobile's user avatar
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 ...
Lime118's user avatar
  • 11
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 (...
FedKad's user avatar
  • 565
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'...
simplicITy's user avatar
-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-...
Zulkarnain Kamaludin's user avatar
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 ...
Nicolas's user avatar
  • 830
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 ...
Apex Sol's user avatar
-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 ...
M S's user avatar
  • 1
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.<...
Arlen Pavka's user avatar
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 ...
Xnimak's user avatar
  • 1
-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 ...
Sarah's user avatar
  • 23
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 ...
omid leon's user avatar
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,...
madscijr's user avatar
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:"...
Kevin Whitesides's user avatar
-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, ...
andy souter's user avatar
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: ...
omid leon's user avatar
-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 ...
T. Gore's user avatar
  • 29
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 ...
Lore's user avatar
  • 1,680
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 ...
Maarten Schuurmans's user avatar
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&...
BitByBit's user avatar
4 votes
1 answer
86 views

Can negation in regex in Notepad++ match emoji or other unicode char at U+10000 and above outside the Basic Multilingual Plane (BMP)?

It seems the regex engine used by Notepad++ can't do what I thought it would. Maybe a more general problem, not only with negation syntax. Example with unicode number U+1F3B5, Unicode Name "...
user avatar
0 votes
0 answers
37 views

Notepad++ wildcard with "replace" [duplicate]

I am having difficulty using wildcard character (.) to replace text. It works fine to find the desired text; but instead of retaining the "wildcard" text, it replaces it with . I want to ...
Rich's user avatar
  • 1
0 votes
3 answers
88 views

Bookmark lines that start with a digit and are consecutive, while skipping some other lines

I have a list like following: Peie 71,176,953 T-re 71,173,557 5-Mts 41,653,495 45678 Sia 36,136,829 36,100,829 4-Diepi 120,829 uteCra 36,100 Oct2018 Now I want to bookmark lines that start with a ...
Pubg Mobile's user avatar
0 votes
0 answers
39 views

Notepad++ : Replace digits [0-9] for the same digits [duplicate]

I'm trying using this pattern \s[0-9]+\. in "Find what" , but I want to keep the same original numbers in "Replace with" in order to break text into paragraghs. What code should I ...
Notlaw's user avatar
  • 89
0 votes
0 answers
22 views

Insert multiple tabs (or characters) using Regular Expressions [duplicate]

I'm using Notepad++ RegEx Replace to convert a lateral list Q, N, S, G into a vertical one, with multiple tabs preceding each character. Q N S G Is ...
MJA's user avatar
  • 366
0 votes
0 answers
86 views

pound sign is not displaying correctly (showing like "xA3") in xml file generated from java in notepad++

I am generating one xml file from java code where currency symbol "£" is showing as xA3 in notepad++ and showing correctly in notepad. Encoding for the file is defined as UTF-8. If i copy ...
Deepti's user avatar
  • 5
0 votes
1 answer
55 views

Notepad++ Combining two types of lines (similar information) throughout a large document?

So, I have chat logs between a friend and I from Snapchat that we want in an easier to read way. You get the data in an html format from Snapchat, and so far I've got it edited down to this format: ...
shayneexx's user avatar
1 vote
1 answer
56 views

Notepad++ and regex: how to UPPERCASE only first letter in specific words with / find / replace [duplicate]

This is the given situation: INPUT TEXT jjj=Johann{enter}{enter} uuu=08:30{tab}18:00{tab} vvv=08:30{up}18:45{down}08:30{left}18:45{right}08:30{tab} OUTPUT TEXT (goal) jjj=Johann{Enter}...
Johann Sterzik's user avatar
3 votes
3 answers
118 views

How can I rearrange lines of text with regular expression search-and-replace?

I have a log file containing timestamps and usernames on our service from 6+ years ago. The issue lies in the fact that the new system won't accept any logs from 3+ years ago without some heavy ...
SamHammie's user avatar
2 votes
1 answer
47 views

How to add comment out multiliple lines in multiple files?

I am trying to comment out an Azure DevOps pipeline stage in multiple yaml files. I tried using Find in Files in Notepad++, but unsuccessful. I am trying to comment out the following stage. - stage: ...
albbla91's user avatar
2 votes
1 answer
67 views

Notepad++ Remove Empty Spaces or characters after the specific LAST character

Is there any way to tell Notepad please do this... FROM THIS 15.63387,46.42795,1,130,1,210,Sele pri Polskavi TO THIS 15.63387,46.42795,1,130,1,210 I would like to remove everything after the last , (...
HARPER's user avatar
  • 23
0 votes
1 answer
26 views

Git rebase can't use notepad++ folder does not exist/git proceeds regardless of notepad++ [duplicate]

as titled. git commit git rebase -i all are unsuccessful Looking in process monitor I was able to see that notepad initially successfully reads the file and then in the mean time the folder is deleted....
nopeless's user avatar
  • 101
-3 votes
1 answer
46 views

Transpose within Transpose Notepad++? [closed]

I have a text file that looks like this (but 132k lines) ******** name : one Place : city Initial: none ******** name : two Place : city2 Initial: none ******** name : three Place : city3 Initial: ...
Gene Parmesan's user avatar
0 votes
0 answers
28 views

Bookmark lines that contain percentage values below a certain threshold [duplicate]

In Notepad++, I'm seeking assistance to bookmark lines that contain percentage values below a certain threshold. For instance, how can I bookmark all lines featuring percentage values lower than 98.5%?...
Pubg Mobile's user avatar
1 vote
1 answer
25 views

Matches two line immediately following the target line

I have a list like following: tttttttttttyyyyyyyyyyyyyy 28758.gif: 100.00% tttttttttttyyyyyyyyyyyyyy 28759.gif: 98.92% tttttttttttyyyyyyyyyyyyyy 28760.gif: 100.00% tttttttttttyyyyyyyyyyyyyy 28761.gif: ...
Pubg Mobile's user avatar
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 ...
Radek Pilich's user avatar
-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 ...
Brian Maluszczak's user avatar
-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 ...
Liam's user avatar
  • 107
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/...
Stes Mus's user avatar
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 ...
Otis's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
144