Questions tagged [text-manipulation]
The text-manipulation tag has no usage guidance.
44
questions
0
votes
1
answer
443
views
Moving characters' position
I am trying to automate the work of changing the position of characters in text. I think the right regex pattern will do the trick, but I haven't been able to create one.
I have text like this:
abcd&...
0
votes
1
answer
19k
views
Delete multiple lines by specifying their line numbers in Notepad++
I have a text file that has 255 lines and I want to delete/remove specific non-consecutive lines (lines 2, 4, 56, and 180 for example) regardless of their contents. I cannot use regular expression ...
0
votes
1
answer
91
views
How to increment group numbers in a settings file?
I have an application with a settings file (.ini) that contains data in the common format:
[group1]
foo=bar
bar=baz
...
[group2]
foo=bar
bar=baz
...
...
[group500]
foo=bar
bar=baz
...
where the ...
0
votes
2
answers
161
views
How to add column with numeric range of ID's after grouping data in Excel
In the data I have fields "ItemName" and "ID". I need to group rows by "ItemName" and somehow make a "human readable" range of sequential numbers in "ID&...
0
votes
1
answer
211
views
How to do this in Notepad++?
I have thousands of lines that look like this:
Username | Password | Account Status | Region | Email | Summoner Name | BE | RP | RP Refunds | Level | Curr Rank | Prev Rank | Champs | Skins | Last ...
-1
votes
3
answers
123
views
How do I switch to only using a keyboard for input?
Not sure if this in on topic here. I'm trying to completely switch to keyboard, yet, there is one main task I cannot achieve: to copy text from browsers and almost any program that is not a text ...
1
vote
3
answers
7k
views
How to extract a part of a line that is between two specific strings via a batch script
I am trying to extract strings which are between testid= and ].
Input text file
SEVERE TEST 11/18/2019 8:00:41 AM Could not find INPUT with [testid=2345]
SEVERE TEST 11/18/2019 5:02:11 AM Could ...
1
vote
1
answer
274
views
How can I sort the output of awk, disregarding a certain character?
I am trying to print out the Chinese font I have in my laptop, and sort the output with respect to their name that could be referred to in LaTeX. This could be done with the following command:
fc-...
0
votes
1
answer
151
views
Linux version sort; letters first
GNU sort -V is great for sorting IP adresses. Unfortunately it throws all lines with leading letters (as opposed to numbers) to the bottom of the pile. Is there a way around it?
Note:
• 192.168.0.103 ...
1
vote
3
answers
1k
views
How to split words in Excel
In Excel, how do I split a word from cell A1 in all possibilities of 3 sequenced letters?
Example:
If cell A1 contains word university, I need that it generates following text in the other cells:
...
5
votes
5
answers
3k
views
How to chain awk print statements?
Okay, here's a quick example; me isolating a host's IPV4 in three steps:
ip -br a
lo UNKNOWN 127.0.0.1/8 ::1/128
eth0 DOWN
wlan0 UP ...
2
votes
1
answer
128
views
What's the best method for JPEG text manipulation?
I have a relatively simple graphic; a technical diagram with various bits of text throughout.
The text is in another language (Czech/Slovak). It's printed clearly enough to be accurately ...
8
votes
3
answers
18k
views
FINDSTR: Line is too long
Windows FINDSTR command is useful for sifting through large amounts of data; it filters out lines of text that match or don't match a specified pattern or string (like GNU/BSD grep).
But it refuses ...
5
votes
3
answers
7k
views
Reverse text in Notepad++
This question was asked several years ago without an accepted answer. The question has also long been inactive. Seems a simple piece of functionality, so perhaps a recent plugin provides the feature.
...
-1
votes
1
answer
121
views
How can I tag text based on its indentation?
I want to tag textual content (with XML-like tags)
based on its indentation depth. Blank lines should be preserved.
The example below has its content indented with 1, 2 or 3 tabs.
INPUT
aaa
bbb
...