Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [text-editing]

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

2
votes
2answers
30 views

MS Word: Create cross-reference linking to the top end of a figure, instead of figure labeling text below the image

I've a problem with Microsoft Office Professional Plus 2016: After I have created a caption text below a figure, and then inside my text set a link to this image, the link will lead me to the labeling ...
0
votes
2answers
58 views

How to remove lines that not containing any uppercase letters or lowercase letters or numbers notepad++

I want to keep only lines that contain at least 1 uppercase letter at least 1 lowercase letter at least 1 number Example: :soTest.@1rTr :$TEST%.TER12TB& :-G5O6D$G%R@RS :sbg^45re$55 :@65RR$#...
-1
votes
0answers
25 views

Is there any way to merge many wordlists into one big wordlist?

I am currently using parrot os and got many wordlists exceeding 1M words so is there any way to combine all the wordlists together and make them one? Also i would like to merge pre-exhisting wordlists ...
0
votes
1answer
19 views

How to delete multi-line comment in Notepad++

I have an XML file saved in Notepad++ and I want to delete multi-line comments (from <!-- through -->).  How can I do this globally (without going line by line)?  For example, <Text> <...
0
votes
1answer
62 views

Match first and last character(s) of any word

I searched a lot but didn't find any help. I want to use a regex for matching first (one or more) and last characters (one or more) of any word, not only find but it has to match with first and last ...
1
vote
0answers
58 views

Replace lines that have no digits with some constant word [closed]

I have a file with about 10000 lines like the examples shown below.  I need to replace the lines that do not contain any digits with some word; e.g., input.  How I can do this please? Example: The ...
1
vote
1answer
288 views

Can Notepad++ automatically split a text file into multiple files?

I have a text file that contains a massive amount of words that I would like to make into a number of different text files. Specifically I need to take every 100 words in this file and make a ...
0
votes
0answers
52 views

Windows 10 - Word Delimiters (boundaries) in Explorer

In brief: Anyone know if there's a way in Windows to define a list of characters to be considered as delimiters in Windows Explorer, for the purposes of double-clicking to select a word in a filename ...
1
vote
1answer
39 views

How to activate the splitter in Notepad++?

The Notepad++ v7.6.2 release notes reveal a new feature: Add new feature: double click splitter resets panes to equal size. How does one enable the splitter to begin with?
1
vote
4answers
91 views

awk, sed, or other text processing suggestions, please

I have the following repeating pattern of text that needs to be reformatted. Normally this should be easy, even with a standard text editor, but in this case I need to expand the information in the ...
0
votes
1answer
26 views

How can i choose an exact character in a txt file?

I use Search and Replace software, I need to erase a "-" character in many txt files. The "-" always appears between two numbers but the numbers are always different (f.e: 1234567-8 or 34569-0). there ...
0
votes
1answer
28 views

Move characters between two strings to end of line

I need to move (in a text file) all the characters between ">" up to and including "_" to the end of that line. From this: [[[>AVA_M427014_ MAKNISRTAQMRVAIEEL >AVB_L427D15_ ...
0
votes
1answer
55 views

Find out which ending is the most common in a language [closed]

I would like to work out what the most useful TLDs are for domain hacking (i.e., creating short FQDNs that spell words by combining with a TLD, e.g., ho.me) in English. Here is a list of public ...
1
vote
1answer
299 views

How to delete same lines in Notepad++?

I want to find out if there are any extra files between a long list of files that I generated. Because I`m weak at explaining stuff with words, I'd rather illustrate. This is an illustration of the ...
1
vote
1answer
59 views

Notapad++ column editing: how to deselect a clicked location?

1- There is an option in NP++ to hold Ctrl while clicking in multiple locations in the text file, so the cursor stays there for multi-editing. I want to know how to de-select a clicked location? I ...
0
votes
1answer
186 views

How to remove invisible characters from text copied from PDF

If I copy some text from a PDF, the text appears correct, however the text editor considers the text to be one long sequence. How the line appears in notepad: The only way I have been able to ...
1
vote
1answer
66 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
0answers
68 views

Please make my terminal behave like a word processor because I'm old and jaded

How do I make the terminal input behave like a multi-line word processor that lets me select text, delete some text (no hex codes), move around, then only really send it over the wire when I press ...
2
votes
2answers
58 views

Sed Script to Capitalize “I”s in a Text File

I am trying to create a sed command that capitalizes the pronoun I in a text file. For example "i like dogs." should be "I like dogs." So far I have: sed 's/ i / I /g' This doesn't work in a ...
0
votes
2answers
50 views

Extract Text from in front of, after, and inside characters

I have a variable (%~1) set to something like: Hello there this is a block: [C]Inside of Block[/C] Did you like it? I want to have it separated into three variables: Front=hello there this is a ...
2
votes
2answers
212 views

How to delete all text except for what's inside quotation marks?

I want to remove all text except for what's between quotation marks. How would I go about doing that? Example: Bran could hear the wind in the trees, the clatter of their hooves on the ironwood ...
0
votes
5answers
50 views

How to parse this data

I have a file filled with data like this: 15-06-18 22:00 2968 Each entry is separated by a new line. I want to extract the last number (2968). How can I do this? (I am on Linux with bash). Sorry if ...
0
votes
3answers
126 views

Extract data from a very messy text file into Excel [closed]

I have a very messy .txt file with a lot raw data in it. It's one big long line, constantly repeating location data: \"Locations\":[{\"lat\":\"37.77160263061523\",\"lng\":\"-120.85061645507812\",\"...
0
votes
1answer
84 views

How to replace a character in an interval delimited by two other characters from a file

I have to replace all occurrences of the vertical bar character | with a comma , when they appear between [ and ] characters, on each line of a file. Let's say I have the below string in the file: ...
0
votes
0answers
69 views

How to enable Format Picture Tools in Word while recording macro?

It's often desirable to fix some images while working in Word. Yet when you try to record macro, some functions are NOT available, for example, Format Picture Tools. Similar question was asked about ...
0
votes
0answers
45 views

Text Data File: Is it an 'Active List' or a 'Database'?

There is a text file that is accessed via a GUI application. The text file is basically a list of text items, with an index number at the start, something like: 1234: text1 text2 text3 4567: text1 ...
1
vote
1answer
232 views

How to replace asterisk symbols (*) with bold tags to denote important words and phrases?

I have a document of nearly 20K lines. Many (but not all) of the lines use asterisk symbols to denote important words and phrases. Example: What kind of *vegetable* is it? You are *best?!* I hope ...
0
votes
3answers
364 views

How to use sed to replace a whole line with another one with characters in it

The file contains the following on line 19 send -- "old@example.com\r" I want to change the email so I thought and came up with this sed -i.bak '19s/.*/send -- "new@example.com\r"/' ./a it does ...
0
votes
1answer
146 views

Replace Multiple Instances of Same Line with Only One Instance?

The title says it, really. Basically I am trying to condense an enormous log file. Notepad++ and Regex (I know a small bit) can delete these repetitive lines, but the problem is, I don't want them ...
1
vote
2answers
371 views

Extract portion of text file from first occurrence of one string to first occurrence of another

How can I extract a portion of a large text file, starting at the first occurrence of FOO and ending at the first occurrence of BAR? In my case, I'm trying to extract a portion of a sql file created ...
0
votes
0answers
32 views

Adding numbers in some cells of a table

Given an ASCII text file on a generic Unix/Linux system that looks like: | 0.9 | 0.6 | 8+1 | ... ... How can I replace the expressions with their values, for example, replace 8+1 with 9? ...
0
votes
2answers
802 views

how can i delete every word in a text file except a word?

I have a file with a bunch of info of street and WIFI(s).so i want to delete every word in the text file except ,password:********, and there is a lot of it and the word after password is variable/...
0
votes
3answers
65 views

sed: Deleting a List of Paths from a Set of Files

I have a file named common.txt that contains a list of absolute paths. For example: /etc /etc/group /var/log/syslog I also have a set of files <hostname>.txt that also contain a list of ...
0
votes
1answer
55 views

Fixed width rows in a CSV?

I have a file whose newline delimiter has been accidentally erased. Now I have a whole bunch of 216-character lines, all displaying on a single line. Using the fact that I know the lines will be ...
0
votes
0answers
35 views

Characters merge in a weird way in text editors like Notepad

I downloaded the font Space Mono (regular) from Google Fonts (link), and also the font Fixedsys Excelsior 3.01 from its website (link). In text editors like Visual Studio Code and Brackets, these ...
1
vote
1answer
922 views

Automatically add spaces between words in a Word document

I have a Word document about 200 pages. The text I pasted from a PDF lost it's spaces for some reason. How do I fix this?
1
vote
1answer
121 views

Track changes in Word 2016

In Microsoft Word 2016, is there a way to configure the Track Changes feature so that it highlights in color the portions of text that have changed, but only shows the edited version of the text? My ...
1
vote
2answers
2k views

how to separate single text file into multiple text file by lines using batch?

I have running the following program, @echo off cls set /p "filename=type file name>" setlocal enabledelayedexpansion for /r E:\ %%a in (*) do if "%%~nxa"=="%filename%" ( echo %%~dpnxa >>...
1
vote
1answer
595 views

Set Delete Line shortcut in Notepad++

How can I set Delete Line shortcut in Notepad++? I would like to be able to delete the whole line at which mн carriage is by pressing Ctrl + D.
0
votes
1answer
38 views

Capitalize first letter in sentence in MS Word after the fact

Ive pasted in text from another text editor into Word, then turned on Autocorrect. It doesn't correct after the fact as I can see. Is there a shortcut I could do to fix it?
0
votes
1answer
233 views

Merge 2 files line by line in Linux

I have 2 files and I want to merge them line bye line. For example the content of 1st file is: python create-account.py un1 example.com 123456 python create-account.py un2 example.com 123456 python ...
0
votes
1answer
512 views

How to Remove anything not letters or numbers from part of lines with Regular Expressions?

How do I remove anything not letters or numbers from part of lines in txt file? More explaining I have username:password or username;password. I want to edit the username only and remove anything ...
0
votes
0answers
192 views

How to Export or Bookmark lines not exist or duplicated in another text file

my system available in: Windows 7 - Windows 2012 using Text Editor: Emeditor - Notepad++ i have 2 text files first .txt 64512 lines second .txt 64177 lines how do i export or bookmark the lines ...
2
votes
3answers
4k views

How To Remove All Lines Containing Any non-ASCII Characters Using Notepad++ or Emeditor

How do I remove all lines containing any non-ASCII keyboard characters? I tried so many times Regular Expressions codes but none work like it should be I even tried this code [^\x00-\x7F]+ but it ...
0
votes
1answer
32 views

Why does nano editor prompt me to “save changes” when nothing is changed, and can I change this behavior?

When I open a file in nano, if I add a character then remove it, so the file is exactly the same as it was initially, upon close I'm prompted to "save changes" and I have to type N for no. Is there ...
0
votes
1answer
2k views

How to sort lines in text from 0-9 a-z to all random lines using notepad++ and emeditor

How do i sort a large text file lines to be all random. i'm using Emeditor Notepad++ if there a way with Regular Expressions add it too if possible Small part of example lines: 0 1 3 4 5 6 7 8 9 ...
1
vote
2answers
509 views

windows need help for Large text file editing for remove duplicates - combine txt work on 50GB+

i have windows 2012 32GB RAM I7 CPU Prossesor 1TB SSHD i have .txt files of wordlists in lines the txt files start from 2GB to 50GB what kind of tools or program can work in that large size/lines to ...
0
votes
1answer
259 views

Create a corrupted TXT or INI file?

Occasionally we get reports of corrupted files from customers. These are rare and next-to-impossible to reproduce. When we log into the customers' machine remotely we find the file (usually an INI ...
0
votes
1answer
878 views

How to split lines in notepad++?

I have lines that are joined together and I want to split them. Example of lines before: :user1:example1@hotmail.com:4082e6739d188208d2450d1e03696b40:OdoA>D9e9VIOnP8^}M[e*FA)3!:Frankosh:test_93@...
-1
votes
1answer
598 views

how to merge large txt files of 10GB+ into 1 txt file and remove duplicates lines from this 1 txt file fastest way? [duplicate]

simple my question is different because i need to merge the files into one too then remove the duplicates lines from the that file which will be over 50GB txt i have large .txt from 10GB+ files i ...