Skip to main content

All Questions

Tagged with
-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
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
-2 votes
1 answer
44 views

Notepad++ how to replace with random positions of text

I wanna replace few strings in my XML, but i didn't know, how to "TAG?" strings. I lost my passwords from Opera, but i got old copy from Mozilla but they was at different groups and parses ...
heni1's user avatar
  • 1
2 votes
1 answer
79 views

Using conditions when replacing data in Notepad++

In my document in Notepad++, I have lines like these: dicha NCFS000 dicha-n dicha NCFS000 dicha F S medida NCFS000 medida-n medida NCFS000 medida F S And I want to replace the line ...
Miquel Centelles's user avatar
0 votes
2 answers
277 views

Merge words with hyphenation and line breaks (regex)

When a hyphenated word is separated by a line break, I want to merge them. So the condition is that a hyphen is followed by a line break. If a hyphen is followed by a whitespace, nothing at all should ...
Sunkey's user avatar
  • 1
0 votes
1 answer
282 views

/^\d+$/.test not working when there is a number in front

I am coding a website that changes degrees from Celsius to Fahrenheit. I have tried using isNan and /^\d+$/.test to make sure that no letter is inputed, but the code will still accept any input if ...
user20065867's user avatar
2 votes
1 answer
56 views

Change specific part of a string to Title or Proper case using regex notepad++

I'm trying to use a regex expression in Notepad to try and convert the following string: Name = CASTFORM-1 Name = CASTFORM-2 Into Name = Castform-1 Name = Castform-2 I'm able to find the specific ...
Nuemio's user avatar
  • 83
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=" ...
Jayesh Limaye's user avatar
-2 votes
1 answer
147 views

Regex to start new line at last whitespace before match

I'm searching for a regex for Notepad++ to have a text with maximum 35 characters per line. I want to start a new line: at the last whitespace occurrence before the 35th character at the last dot ...
Ex.'s user avatar
  • 57
2 votes
1 answer
1k views

Find and replace changing date format in notepad++ using regular expressions

I need to change date format of many values in a SQL file. There are date values which are in the 'DD-MON-RR' format but I need them to be in the 'YYYY-MM-DD' format. In the file I have dates from ...
Ex.'s user avatar
  • 57
-2 votes
1 answer
390 views

Notepad++ doesn't color String type in my programs, why?

I was looking at some code i've written, an example from a book: public class Acquisto { private String nome; private int dimGruppo; private double prezzoGruppo; private int ...
Atlas_'s user avatar
  • 1
0 votes
1 answer
875 views

Find a word between double quotes and replace it with suffix using regular expressions in notepad++

I have a file with text as below. I would like to find the word between double quote (i.e., TABLE_NAME_1) and replace that after adding suffix (i.e, _test) to the original word. Sample data from a ...
Rajanand Ilangovan's user avatar
1 vote
1 answer
37 views

Searching for multuple valeus using REGEX

I have a big sporadic sql scripts and need to find and replace a few values in it. I am trying to pass my values in REGEX to Notepad++ but I can't seem to make it work. To be more specific, I have ...
Sobhan S's user avatar
1 vote
1 answer
1k views

Notepad++ Find strings 50 characters or longer between two vertical bars

I would like to ask for help with the regular expression to use in Notepad ++ that will find any text that is 50 or longer, and is between 2 vertical bars? Example: 060801113494|I am writing a string ...
erasmo carlos's user avatar
3 votes
1 answer
1k views

Replace all occurrences of a character between two strings

I want to replace all space occurrences between string1 and string2 with a _ character on all lines of a text document using Notepad++. Examples: string1 this is a first example string2 string1 this ...
Bob's user avatar
  • 63

15 30 50 per page
1
2 3 4 5 6