Questions tagged [text-editing]

Text editing is the process of selecting and preparing text [files].

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

a very simple Perl script needed

I have the following text file G.txt. I need a perl command perl -e ... that would extract all negative entries ending with Kč, so that first line it will be -107,60 and last will be -63,00 I have ...
-3
votes
1answer
66 views

Does txt file not support hyperlink to jump to a specific page like pdf?

I want to make table of contents in txt file each line of which contains hyperlink to jump right to the desired contents for easier navigation, like pdf bookmark Is this viable option for txt file in ...
0
votes
1answer
16 views

Extracting specific links from source code in linux command line

I have a 3000 line source code text file of a page. How I can extract specific urls similar to down below and delete rest source code ? https://d17nygptf7ayu.cloudfront.net/photos/0b1983ccf6bb5674f93b....
0
votes
2answers
50 views

How to insert new line separator on regular (every 13th) intervals of delimiter in text file which has no new line separator

I have a TXT file which has some raw data. I need to convert them into Excel, but my attempts are not successful. The file has hundreds of times the delimiter (separator) and that helps me convert to ...
0
votes
1answer
32 views

Deleting range of lines from a text file in linux command-line?

I have a example.txt file with 280 lines of text. I only want to keep first 80 lines and delete rest lines ?
0
votes
0answers
49 views

Change Timeout/Duration for Automatic Text Replacement of Text Expansion Shortcuts in Chrome on M1 Mac

I just picked up a new M1 MacBook Air with Big Sur, and I imported all of my text expansions (found in system preferences > keyboard > text). I installed the version of Chrome designed for Apple ...
0
votes
0answers
16 views

Excel Copy Line Down functionality

In VSCode, we have the Copy Line Down functionality, where the editor adds a new line below with the contents of the selected line. Something like if the cursor was in the first line of this example: ...
0
votes
1answer
25 views

Replacing words with specified words using AWK

My code generates several json file all of which look similar to { "instance": "sample_instance_05", "steps": [ { "129": "North&...
0
votes
1answer
22 views

How to replace or look for italic text within quotation marks

As a text editor, I often come across cases where the author has double marked quotations by putting them in between quotation marks and in italics. In almost all cases it is preferred to use only one ...
-1
votes
1answer
86 views

How to remove everything after a year date in RegEx?

So i have this giant text file. And I'm trying to remove all events after the dates. Example 1900 Sigmund Freud published 'Interpretation of Dreams' marking the beginning of Psychoanalytic Thought. ...
2
votes
1answer
68 views

Shell special chars blowing up regexp(s) in all: sed, (g)awk, and perl [closed]

I would like to change the PS1 in my ~/.bashrc programmatically with any of the the most popular regexp tools { sed, awk or perl }. However, I have problems with special characters. Note that in the ...
2
votes
0answers
8 views

Extracting links from mailbox

I have a mailbox with ≈ 10 000 mail in it. Each of these mails contains a unique link that I need to click to get to a web page where I shall enter some data (name, mailaddress). I plan to use ...
0
votes
1answer
449 views

Html links in dumped formatted output from links 2.21 browser

Links 2.21 is a fantastic text based browser which is able to output formatted text from URL's. links -dump "https://example.com/page.html" > output.txt As is, output.txt contains all ...
2
votes
2answers
198 views

Remove lines where either column is empty

I have a large colon-delimited text file containing two columns like this: valueA:valueB valueC: valueD:valueE :valueG If there is no data to the left or right of the colon, I want to remove the ...
0
votes
2answers
92 views

Is LC_ALL=C destructive?

I have a reasonably large (~15GB) set of text files. These files are essentially simple databases that contain credentials, and the credentials in them often fall outside of the 128-character ASCII ...
0
votes
1answer
54 views

How to reverse-tab to delete tabs in Outlook 365?

In Outlook 365 (locally installed client, not web client) I frequently copy/paste SQL and source code snippets into emails. For example, by default after a paste operation, I invariably end up with ...
1
vote
1answer
54 views

Removing specific words from text file

I have a text file tat contains email:name | address = date time I want remove everything that comes after name from each line and leave me just email:name is there a way to do that?
0
votes
1answer
60 views

Word - How can I display a section of text from document A in document B that updates in real time when I change it in either document A or B?

Is it possible to display a section e.g. paragraph from document A in multiple other documents (doc B, doc C & D) so that when I edit it in either doc A, doc B, doc C or doc D it updates that ...
0
votes
0answers
16 views

I have screen recorded videos of Excel - can I easily convert the text that is on screen to Excel?

I have a few thousand line excel spreadsheet I have lost. I luckily have a screen recording of me scrolling through from a seminar I hosted. I am wondering how I can convert the video (text on screen) ...
0
votes
0answers
49 views

TEXT EDITING for data processing

I have a question about text editing I have a big text file that contain input list in it as you see the example of that file on the picture. the list look like this: Input form jalan ba-jalan pem-...
1
vote
2answers
82 views

How to move to certain symbol in the next line?

Let's take a couple of lines: asdkgjas;fwewgdsgflk : wthtklsjflasd djfghkdjfgndfgdfg : wreteqw'[erlw How could I move right away to the next line so that the cursor would appear after : (regardless ...
14
votes
10answers
3k views

Are there shortcuts for text editors/processors to delete the rest of a line?

The cursor may stay in the middle of the line and there may be necessity to delete whatever stands from the right side of the cursor, but only till the end of current line. I don't know how this ...
0
votes
1answer
764 views

Lightest way to add timestamps in Notepad++?

What is the lightest way to add a timestamp string within a Notepad++ text document? The method I know of is to use a plugin that gives Notepad++ Python functionality, and then write a small Python ...
1
vote
0answers
21 views

How do I undor/redo edits in Windows 10 CMD?

I see that CMD got a some changes for 10. Including ctrl+C/V. And for some reason they ruined drag&drop which now ovewrites text instead of inserting it... But so far I didn't find undo which is ...
0
votes
2answers
210 views

How to add text to the end of every url in notepad++?

I have a big text file that contains urls that all begin with the same domain name but vary in the rest of the url. Is there any way to search for the line beginning with http://test.domain and insert ...
0
votes
2answers
67 views

Selecting/highlighting specific lines in a text - gedit

I'd like to select only specific lines in a gedit file; for example, if the text is composed by 4 lines, I may be able to select only the first one and the last one in order to copy only them. How ...
1
vote
1answer
31 views

How can I delete everything from X to Y in a text document?

Lets say, given a text document with the content: zeep XXX fleem flerb floot flop YYY zoop yim XXX abc def jpg gif YYY yam i want to delete everything in between XXX and YYY so it looks like:...
1
vote
1answer
61 views

How to remove all the lines of text before a specific text and all those after another specific text in multiple files using notepad++ or TextCrawler?

I am working with a set of reports as txt files for a project. But these text files contain a few lines of unwanted text before and after the actual report.Required portion of every text file starts ...
0
votes
0answers
13 views

Page Up action triggered while typing text in MS Word 2007 in Web Layout View?

I'm using MS Word 2007. It happens when I'm typing close to the bottom of the Web Layout View and suddenly it jumps to the previous page, not properly adjusting even if I keep typing. This is annoying ...
1
vote
0answers
13 views

How to use tab for text auto complete system wide?

Mac OS suggests completions of some text in some instances. A particular example would be when writing an email. The default way to choose the suggested text is to use the downward arrow to highlight ...
0
votes
1answer
399 views

Excel: Alt + Enter for multiple cells

I would like to change the first table into a wrap texted version of numbers & (xxx), making two lines in each cell. What is the best option for this, as I have >100 cells so it's not feasible to ...
2
votes
2answers
89 views

How can I make evenly tabbed list in Notepad++?

I want to make a list which currently looks like this Hystérie Connective 3:09 Ghetto 2:41 Clé De Contact 2:50 to look like this Hystérie Connective 3:09 Ghetto 2:41 Clé De Contact ...
0
votes
1answer
75 views

How do I indent with multiple cursors to the same horizontal position in VSCode

I'm looking for an easy way to do this in VS Code. (I'm writing an interpreter so there's lots of boilerplate!) One strategy I found is to add too much space then ESC and multi-line down again, ...
0
votes
2answers
39 views

Is using number+letter a safe separator for text? [closed]

Considering you have to delimit your text without using special characters, can using [0-9][a-z] (0e, 0f, etc.) be considered safe? In other words, in computer languages and in general text, is it ...
1
vote
1answer
851 views

How can I get “Ctrl+Shift+Right/Left” to select/mark a word in Eclipse?

I'm using Eclipse 2019-12 (Java) on Windows 10 and I cannot get Ctrl+Shift+→ to select/mark a word as it do in every other program I use. The same is true for Ctrl+Shift+←... The General -> Keys ...
0
votes
1answer
248 views

Use sed to replace part of a string leaving other part represented by regex unchanged

Consider you want to replace part of a sentence and leave other part represented by the regular expression (regex) unchanged. For instance, here's a text file text1.txt A Egg b Egg C Egg D Egg E ...
1
vote
2answers
76 views

How to remove version number from a list of programs in Notepad++

I want to remove/delete version number from my programs list in notepad++. How can I do it? Example: program 1 5.6.3 program 2 3.2.2 program 3 14.2.9 I want it like this: Program 1 Program 2 ...
1
vote
1answer
109 views

How to increment all numbers in the text that have space at least from one side?

I want to increment numbers which are written like this: add(1 ) or add( 1), but not like this add(1). I have one code that works in Notepad++ with Python Script plugin but it increments all numbers: ...
0
votes
2answers
162 views

How do I concatenate a line to the end of the next line using Find and Replace?

I have a file of the format: Chapter 1 12:45 First Video 39:21 Second Video The video lengths are preceded by tab characters. I want to convert this into: Chapter 1 First Video 12:45 ...
0
votes
2answers
264 views

How to align two sections in one page to the top and to the bottom with complex layout?

I want to replicate this PDF page into a word document But I cannot make the bottom paragraph to become as I want to it to be seen. I've already seen and tried this question, but using that method, ...
1
vote
1answer
271 views

How do I delete BOTH lines of a duplicate pair in a text file in bash?

I want to delete both lines of a duplicate pair in a text file. There is no way to do this using sort -u file or awk '!a[$0]++' file which both delete duplicated lines. Somehow I would have to ...
3
votes
1answer
2k views

VSCode multiline select - how to delete without removing blank lines?

VSCode has the ability to start a multiline selection via: shift + alt + mouse drag or ctrl + shift + alt + arrow key The problem is that when I'm working across lines of code with empty lines ...
0
votes
1answer
22 views

Batch Text Snippet Insertion

I have the source code (essentially a bunch of text files) for some software created by a vendor. I have some customizations (essentially some text snippets inserted into the text files) that have ...
0
votes
0answers
101 views

Import text or Excel file with title and text in separate columns into PowerPoint (one slide per row)

It is easy enough to open a text file in PowerPoint such that the data on each line is imported as title in a separate slide. This is great. However, can someone please advise how to import a body ...
4
votes
1answer
103 views

How to edit text like this under VSCode and Sublime Text3? What is this function called?

This is my GIF recorded in Pycharm: How can I click anywhere to enter text like this?
0
votes
1answer
62 views

Word “Find” search to find sentences with too many words

I would like to find sentences with more than 25 words, as in, more than 25 words between two periods or any ending point of the sort (.?!) while ignoring commas. Is there any capability that can do ...
0
votes
0answers
253 views

split a two-column pdf into two one-colunm pdfs

I have a true pdf, +1000 pages long, written in two columns because when copy and pasting text, before reaching the bottom of one column, the cursor jumps indiscriminately in a haphazard fashion to ...
5
votes
1answer
1k views

MobaXterm is there a way to disable copy on select?

I am using SSH in MobaXterm, is there a way to prevent automatic "copy" when you select some text (e.g. in gedit), or with the mouse ?
1
vote
1answer
51 views

Copying specific field of a website in a word file with a single operation

I'd like to copy the field title of each occurences here in a word file with a single operation. Example of titles: Bilocale piazza del Popolo, Piazza del Popolo, Roma Trilocale via dei Banchi Vecchi,...
1
vote
1answer
176 views

How to replace bullets with footnotes (with superscript numbers) in Word

I have a Microsoft Word document that has slightly over 600 numbered / bulleted lines (i.e., paragraphs).  Something like this: Once upon a midnight dreary, while I pondered, weak and weary,¶ ...

1
2 3 4 5
9