Skip to main content

All Questions

Tagged with
-1 votes
0 answers
19 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 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
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
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
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
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, ' ...
Bart Zakkenwasser's user avatar
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 ...
Cristian Capriceanu's user avatar
0 votes
1 answer
70 views

Notepad++ Append Line1 Text to the end of Line2, Line3 to Line4, Line5 to Line 6, and so on

I have been Googling my way through manipulating a configuration file to migrate data to another operating system using Notepad++. I have been successful thus far with the plethora of examples and ...
PaloAltoSaurus's user avatar
0 votes
1 answer
144 views

Find and replace only last character of regex match using notepad++ [duplicate]

I have this regex I am using for Replace All in notepad++ [0-9]+\. This matches any numbers followed by period. Now I wish to keep the digits as they are and only replace the period by a comma. For ...
moi's user avatar
  • 527
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 ...
janderson055's user avatar
0 votes
2 answers
53 views

Using found text in replace text

I want to add a new line before a date and the dates change so I use . to match 28/06/2023 -> ../../2023. I would like to still get \n28/06/2023 in the end result. So my question is if you in ...
Ashton's user avatar
  • 35
-2 votes
2 answers
408 views

Notepad++ match multiple occurrences of a string in multiple lines (and replace)

I want to match those substrings which have the $ character in below lines. They all should be replaced with TEST. They are not necessarily between quotations ("") or $ and are not ...
ADaren's user avatar
  • 9
0 votes
1 answer
84 views

Find and Replace date in multiple files inside multiple folders

I am looking to find and replace date across multiple files inside multiple folders. I tried recording using Notepad++ macro but cannot see any option to choose the date to be replaced while running ...
user4021949's user avatar
1 vote
1 answer
73 views

Regex: find string only if string ends with character

I'm trying to do a regex replace in Notepad++. Regex isn't my forte, but I thought I'd figured it out. I'm trying to match commas followed by any number of spaces, but only if the line ends with a &...
Ray Phillips's user avatar

15 30 50 per page
1
2 3 4 5
39