Questions tagged [text-editing]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
209 views

How to sort lines in files by custom order?

How can we sort content within a large number of files based on the first word encountered on a line before a separator? In a custom sort order. I will explain this with examples. Say I have hundreds ...
kerstoff0mega's user avatar
0 votes
0 answers
372 views

How to switch writing direction from right to left in Mac apps?

Writing in right-to-left languages on Mac apps I need to write in a right-to-left language, on my Mac computer. On my Windows computer, I used to press Control (⌃) + Right Shift (⇧) to switch the ...
fatFeather's user avatar
1 vote
1 answer
52 views

In Track Changes mode, Find is finding matches including in text which has been "deleted"

NB this is Word 2007. So hopefully the question is fairly self-explanatory. I'm editing a document with Track Changes on, but I'm hoping to do quite a lot of Find-and-Replace. However, these efforts ...
mike rodent's user avatar
0 votes
1 answer
680 views

Overriding The Notepad++ File Size Limit

I had a text file I was working with in Notepad++, which I accidentally closed and now I can't open it again because it says "File is too big to be opened by Notepad++". I was editing it ...
azoundria's user avatar
  • 709
0 votes
0 answers
24 views

Photoshop Text Texture

I wanted to add this "spray effect" to the text but I can't figure out how I can apply it only on the text so the image is not dark. Basically I would like to know how I can use the layer &...
rxtr's user avatar
  • 1
0 votes
0 answers
66 views

Mac OS: How to control which characters the cursor jumps to on 'Option' + '←/→'

In most operating systems, including Mac OS, pressing Option/Control + Left/Right Arrow Key permits to skip the cursor position from word to word. Strictly speaking, this command skips the cursor to ...
Pat's user avatar
  • 101
-1 votes
1 answer
104 views

Reader for .txt file

I want to read .txt files but not editing them. Not in the command line, so not more and similar utilities. I would like to open like if it were a .pdf file, but without converting to a PDF, so not ...
ranemirusG's user avatar
0 votes
1 answer
113 views

Removing Text Of A Certain Colour From A Long PDF

I am preparing for exams and have found some very good resources for myself but they have one issue. All the answers are written right under each question in red ink. I'd like to print these out and ...
Musa Khattak's user avatar
1 vote
1 answer
105 views

When using the Find and Replace window in Excel, the Ctrl-Backspace adds a weird character

Normally, inside a textbox, the shortcut Ctrl+Backspace deletes the previous word, but in the Excel Find and Replace window, it doesn't work and it inserts a character with a rectangular shape. Is ...
DecimalTurn's user avatar
0 votes
1 answer
28 views

Why are there blanks when selecting multiple lines in a text file?

When selecting mutiple lines on an IDE / Notepad on Windows, there are blank characters at the end of each line. You can't move the cursor through them when using the arrow keys, they only appear ...
diogeek's user avatar
  • 11
3 votes
4 answers
238 views

How to remove all newlines from a file?

I have the command cat file.txt | gawk '{print $2}' > test which displays: 1 1 0 0 1 1 Afterwards: vi test :%s/\n// Which outputs: 110011 My question is I don't know how I could incorporate this ...
Antonio De Angelis's user avatar
3 votes
3 answers
564 views

How do I delete every ocurrence of a word that is followed by another, without altering the whitespace?

Suppose my file looks like this: foo bar foo bar bar foo foo bar foo What I want to do is delete every foo that is followed by a bar (i.e. there is only whitespace between them), without ...
vim_overlord's user avatar
0 votes
0 answers
1k views

Combine multiple text file names AND contents into one file via terminal on Mac

I'd like to combine multiple text files, all ending in .txt, into the same document with the filename of each separating the contents of each. I've found ways to combine the contents, I've found ways ...
Brett's user avatar
  • 1
0 votes
0 answers
38 views

How can i change this type of text color in windows?

I have installed a theme and it works great, but there is one thing, some texts are gray and I want to make them white. I checked a lot of websites on 'How to change windows color text' but I could ...
louis's user avatar
  • 1
0 votes
4 answers
2k views

Which Notepad++ plugin sets the text's background color to orange?

I installed about two dozens of plugins in a new Notepad++ installation and the result is: I checked all plugins. None of them gives a hint to the background color. I also checked Settings → ...
Gerold Broser's user avatar
2 votes
1 answer
75 views

Copy text into Excel, Fixed Width, where data starts every 40 rows

I have data from a text file I want to import into Excel. The text data is grouped in blocks of 40 rows with headings. After about 12 rows the new set of data starts again with headings. There are ...
Nathan Schofield's user avatar
0 votes
1 answer
143 views

How can I disable changing view to cursor upon typing in VS Code?

Typing while the cursor is not on screen causes the view to scroll back to the cursor, I could not find anything in VS Code's settings nor could I find any information online on how to change this ...
SptQ's user avatar
  • 3
0 votes
1 answer
126 views

Text Selection: Change in double-click behavior

When double-clicking the beginning of an email like [email protected], I could easily get the local-part (i.e. 'foo'). However, now when I double-click it also includes the domain (i.e. 'foo@example'). ...
Bill Reardon's user avatar
1 vote
0 answers
225 views

Is it possible to delete selection using mouse in vscode?

Like we can select part of text and then copy/cut/paste using Edit menu or Right Click context menu. Is it possible to delete selected text similar way in visual studio code? Please do not suggest ...
vuxig's user avatar
  • 11
0 votes
1 answer
589 views

My word document have a line separation of half page. How can I solve it?

In the document: https://docs.google.com/document/d/1Wnd1lCcLVwRTWA_dCjWlZfWzjqGc7_g_/edit?usp=sharing&ouid=115679852586790547345&rtpof=true&sd=true I have a huge line space, how can I fix ...
JuanMuñoz's user avatar
0 votes
0 answers
21 views

Is it possible to manually edit the bookmarks in a PDF document? [duplicate]

I recently found in this answer that it's fairly simple to edit the code in a PDF document, using a text editor, to alter how page numbers are displayed in a viewer. This solved a key problem for me. ...
Daniel R. Collins's user avatar
1 vote
3 answers
2k views

Excel: split cell in rows by new line

Is there a way, in Excel, to split cell in rows by new line, like in the picture PS. Emily suggested me to copy to Word, however, when I copy it, it copies me like this: 6 A B 7 "7A 7B&...
serge's user avatar
  • 703
0 votes
1 answer
1k views

Custom keyboard shortcut to paste a pre-defined text?

I am finding myself with a lot of need to frequently type one of several specific short strings of text, and i'm growing very tired of the repetitive motions needed to do each. What I would like to be ...
Nanako's user avatar
  • 19
1 vote
1 answer
40 views

How can I, as a noob to advanced text editing, write a script to automate converion from one enum to another?

The title is pretty poor, sorry about that. I am using two assembler/disassembler libraries and both have separate register enums. The libraries are Zydis and Capstone. In capstone the register enum ...
EatingTechnobladesRemainsAt3am's user avatar
0 votes
3 answers
108 views

Replacing double new-line in multiple files

I do a lot of text cleanup with (example) perl -p -i -e 's:old:new:g;' *.txt but when old is \n\n and new is \n</p><p>\n, nothing changes.  Tried escaping the angle brackets, but that didn'...
WGroleau's user avatar
  • 774
1 vote
1 answer
408 views

How to copy first line of text file to start or end of all another lines?

I am currently editing down multiple large text files (maybe 500 different text files) , and need to copy first line of text files to start or end of all another lines For example this is one of my ...
alex leiy's user avatar
0 votes
2 answers
259 views

How to fold text files?

I am currently editing down multiple large text files (maybe 500 text list files) , and need to fold this files For example this is one of my text files: 1966 Q3 Fort COB LGL Asse AP BAS Lis 46.81 11....
alex leiy's user avatar
0 votes
1 answer
625 views

How can I delete everything before and after text that selected by regex? [Notepad++]

I am currently editing down multiple large text files , and need to delete everything before and after text that selected by this Regex ^NewPage.+?NewPage$ For example i have this text: V.prototype.Jb=...
alex leiy's user avatar
2 votes
0 answers
92 views

Is it possible to write the Lovecraftian Sigil of the Gateway in unicode?

It isn't technically copyrighted and doesn't seem to be subject to trademark, and is kind of a cultural symbol, so for all I know there's a hidden symbol assignment for it somewhere... but the Sigil ...
Michael Macha's user avatar
0 votes
0 answers
380 views

Awk regex: how to remove all punctuation except when in the middle of a word?

Following information gathered on this thread, I wanted to use this code to fill my needs, however the code provided wasn't working for more than one punctuation character (e.g. '...'). I thus wanted ...
Michael Gauthier's user avatar
0 votes
0 answers
46 views

Looking for a simple automated way or program to reformat a list of proxies

I have a long list of SOCKS5 proxies that I want to import into another program. Currently the way I have them formatted is: (Socks5)serveraddress:port:username:password The program I'm importing ...
WFMP's user avatar
  • 1
-1 votes
2 answers
15k views

How can I delete everything after the first space Notepad++?

I have a text looking like this name_123 name 2022-6-1 abc I want this name_123 How can I do that?
Tobi's user avatar
  • 1
1 vote
0 answers
180 views

How can I efficiently select a text prediction given by Windows' text suggestions feature?

I currently select a text prediction given by Windows' text suggestions feature via the mouse, or with the arrow key followed by ENTER. This is very inefficient. How can I efficiently (= by pressing ...
Franck Dernoncourt's user avatar
0 votes
2 answers
852 views

sed replace every character in match with single character like █████ redaction

Is there a sed replace function (or other Regex) that will replace every character caught by the match pattern with a single character that is meant to overlay or REDACT the matches? For instance the ...
irishwristwatch's user avatar
1 vote
2 answers
702 views

Add copy-append and cut-append to Notepad++

Is it possible to do a 'copy-append' or 'cut-append' operation in Notepad++? (means, copy/cut current selection or line if nothing selected, and append it to the copy/paste buffer instead of replacing ...
theonetruepath's user avatar
0 votes
0 answers
663 views

what is the equivalent of ctrl+h (find and replace) in cmd command line

I need instructions specific to the command line (Windows 10) to modify a text file, by replacing a word with another word I thought of the for loop but I did not find a command to modify a file text? ...
مريم غريب's user avatar
0 votes
2 answers
3k views

How to convert an excel file to a text file without corruption in columns?

I want to convert a bunch of data from excel to text file. But as you can see in the screenshot, numbers are not correctly in their columns. I've tried copying and pasting data into notepad and saving ...
Reza Asharian's user avatar
0 votes
1 answer
40 views

Excel to Text-editor Copying Time-saving method

I have an excel file with multiple columns and rows. I wish to copy the contents of this excel file column-wise to a word file. As the number of rows and columns are more than 100, I find it time-...
Anil's user avatar
  • 211
0 votes
1 answer
203 views

How to remove this codes/keys from lines?

Hello everyone i hope you all have a good day. I want to know how to remove/delete the following codes/keys from lines. Example List: m-1407-m-00 64582e-2bd9-4b06-a9a1-78bfd42a7e6d SimpleHere123 ...
user677589's user avatar
2 votes
2 answers
119 views

Find and delete near duplicate lines with certain punctuation

I have a text file with millions of lines. Some lines contain the same alphanumeric sequence, but differ in case and punctuation. I consider these lines duplicates. I want to remove any duplicate line ...
Priora's user avatar
  • 35
1 vote
1 answer
151 views

How to remove duplicates usernames before a splitter in lines?

I want to remove duplicated usernames in lines before the splitter : and keep only the first line of these usernames. Lines Example: zzzz:000000zl zzzz:000000zl! zzzz:000000zl1 zzzz:000000zl123 zzzz:...
user677589's user avatar
2 votes
1 answer
372 views

Cannot use Ctrl+Backspace/Del when renaming file on Windows

The question regards Windows OS and I don't know about other OS. Since I learned that Ctrl + Backspace or Ctrl + Delete could delete whole words, I have been using extensively. But it works "...
Michał Turczyn's user avatar
0 votes
1 answer
699 views

Remove empty lines or other editing features in Visual Studio

In order to use column mode in Notepad++, you press the ALT button and start dragging. In order to use column mode in Visual Studio, you press the ALT button and start dragging. To my humble opinion, ...
Dominique's user avatar
  • 2,183
0 votes
1 answer
26 views

How to get the proper output?

I am working with an algorithm that produces outputs like these: ... 2 3 0 & :instance & :|V| & :|A| & :T & :model & :rootLP & :maxFlowCuts & :maxFlowCutsTime & :...
Matheus Diógenes Andrade's user avatar
0 votes
1 answer
1k views

Notepad++ How to copy the last x characters of every line to the end of the same line?

Example- This: Example/Images/1234567 Needs to become this: Example/Images/12345671234567 1234567 is a random string of 7 alphanumeric characters on each line.
PJS1987's user avatar
  • 277
2 votes
2 answers
1k views

Change a keyboard layout for already typed text

I have 2 keyboard layouts (Russian and English) on my Windows laptop. It often happens that I start printing some symbols using the wrong layout. And typically what I do is delete already entered ...
Артур Гудиев's user avatar
4 votes
3 answers
8k views

Find and replace text in a file after match of pattern only for first occurrence using sed

Let's say I have the following input file: Server 'Test AB' option type 'ss' option port '1234' option timeout '60' Server 'Test CD' option type 'ss' option port '1234' option ...
Asiaexplorer12's user avatar
2 votes
2 answers
13k views

How can I perform an ISO-8859-1 to UTF-8 text file conversion while not changing any characters that are already valid UTF-8

Consider a text file that looks like this visually: This’s ISO-8859-1 This’s UTF-8 Behind-the-scenes, the ’ curly quote character in the first line is encoded as ISO-8859-1, and the same ’ character ...
Displayname71's user avatar
0 votes
3 answers
183 views

How can I delete everything from XXXX to the last line before an empty line in a text document?

Given a text document with multiple instances of the content: XXXX random number of lines with random text other random text more random text random text 'blank line' i want to delete everything ...
user1560100's user avatar
0 votes
1 answer
1k views

How do I delete text between 2 strings?

I have tried the regex expression .a href.*?..a. and .a href[^:]++..a. I want to replace .a href=.u.gogogo98. class=.3t5uN8xUmg0TOwRCOGQEcU rel=noopener nofollow ugc target=.blank..u.gogogo98..a. with ...
Allar's user avatar
  • 3

1
2 3 4 5
11