All Questions
102
questions
2
votes
2
answers
324
views
how can i do a alias in powershell to start notepad++
How can I do a alias in powershell to start notepad++
have Start notepad++
and have alias i wanna combinate that
set-alias -name notepad -value start notepad++
but i get this error
Set-Alias : A ...
-1
votes
1
answer
24
views
how to remove the first '|' for selected sentences in notepad
I would to remove the first | which appear in some sentences. For example:
aaa | bbb | ccc
|dd | eee | ff
gg | hh | jj
|zz | xx | vv
I would to remove only the '|' in notepad which appear at the ...
0
votes
2
answers
137
views
Search and Replace/Marking text over multiple lines in notepad++
I am working with twitter data on notepad ++ (xml files) and I'm trying to remove the retweets. Each RT starts with '<tweet id', they all contain '>RT @' and they all end with '</tweet'. ...
2
votes
1
answer
272
views
Why does Java StandardCharsets provide three "UTF-16" encoding types but Notepad only provides 2 options (BE & LE)? [closed]
StandardCharsets provides three entries for UTF-16:
/**
* Sixteen-bit UCS Transformation Format, big-endian byte order
*/
public static final Charset UTF_16BE = new sun.nio.cs....
-2
votes
2
answers
235
views
Delete all rows which contains 2 or more @ characters
Is there a way in notepad ++ to delete all rows which contain 2 or more @ characters on the same row? I have a big list of email addresses. Some email addresses are incorrect because there are ...
0
votes
2
answers
454
views
How to replace text & number and add a other specific text & number in notepad++
I want to edit a file using Notepad++, in such a way that I can replace a line containing a specific word, For example :
edit 792
set name "XXXXX"
set action accept
next
edit 957
set ...
-1
votes
1
answer
63
views
How to remove every line that doesn't contain special/specific characters in Notepad++
I would like the remove every line that doesn't contain the next characters:
! ? # * $ [ ] { } - _ ( )
How should I do that, please?
-2
votes
1
answer
124
views
how to keep only 11 length by line in notepad? [closed]
for exemple, there will be a list like this one:
12345678901:1020
12345678902:1030563
I'd like to keep it like this format:
12345678901
12345678902
basically, 11 digits by line
0
votes
1
answer
49
views
How to separate files by the ninth digit
My idea would be to keep only the ones that contain the number "8" in the ninth position.
Example:
A list of numbers with 11 numbers each line
162156258 12 we keep this one because it's an &...
0
votes
1
answer
72
views
How to delete text before another text on every line
I have a list with oauth's, i have the format username:oauth:token, I need to get only tokens removing username and the oauth text on each line, like from UserCool:oauth:djhjwfjfwjfjwfj to ...
0
votes
1
answer
102
views
I need a function that separate a word from everything else in the line
For example,
Line1 “gamertag: johnny51 you can add me here”
Line2 "gamertag: nicholas362 this is my tag add to play"
After a function I would like only to see
Line 1 “johnny51”
Line 2 "...
3
votes
4
answers
1k
views
Notepad++ REGEX find and replace second-last slash
I have a big textfile with multiple paths like the following examples. The paths are always different.
I'm looking for a regex (find and replace) in Notepad++ to replace the second-last "/" ...
-1
votes
1
answer
160
views
How to replace a text in pattern in notepad++
I need to replace to remove everything from "-" i.e. I need 76001,76605 etc. How do I replace these patterns in notepad ++ that has different numbers after "-"
76001 - 4
76001 - 5
...
0
votes
2
answers
74
views
How to add single quote at beginning and end of array variable in php using notepad++
I have delared variables like this. I have created more than 100 variables in every page.
<?php echo $rsedit[customer_name]; ?>
<?php echo $rsedit[address]; ?>
<?php echo $rsedit[city]...
0
votes
1
answer
10k
views
Notepad ++ How to replace a whole line that starts with a given expression
I have a notepad file that contains the following string ") ON [SQLTest" at the beginning of some lines.
How to find every occurrence of that string in notepad++ and replace the whole line ...