Questions tagged [emeditor]
EmEditor is a fast, lightweight, yet extensible, easy-to-use text editor for Windows.
167
questions
1
vote
1
answer
34
views
How to Extract my chosen emails from huge file
I have huge file with 300 milion records. On every line appers email adress with information.
Sometimes one email can appear up to 40 times.
I have a list of 15,000 email addresses and I would like to ...
1
vote
1
answer
32
views
Is it possible to prevent the wrap mode of the active file from being automatically applied to other files?
When I am working with a particular file (file1.txt) and click View > No Wrap, this mode is automatically applied to another file (file2.txt) when I switch to (or open) it, so I need to spend some ...
-2
votes
1
answer
46
views
Split lines in Emeditor
I have a line of data: first name, last name, mail1, mail2, mail3. I need to retrieve the line:
first name, last name, mail1
first name, last name, mail2
first name, last name, mail3
Tried different ...
0
votes
0
answers
72
views
Converting JSON file to CSV using EmEditor? [error with JsonToCsv.jsee]
I need to convert a large JSON to CSV, using EmEditor (Text Editor). I have already tried this answer and didn't work for me.
I have an error message says: Syntax error at Line 12
Could anyone look ...
0
votes
1
answer
52
views
How to remove all special symbols after : in EmEditor
Hello i need delete all special symbols like .,_- after symbol :
Example i got something like that
sfjsfajsafwp.pl:fsasaf.fssf
sfjsfajsafwp.pl:fsasaf.fssf
sfjsfajsafwp.pl:fsasaf.fssf.dgdg_
After this ...
0
votes
1
answer
46
views
How to convert CSV to fixed-width columns saved in different tabs in Emeditor?
I have this set of numbers, i want to use CSV to fixed-with-column in emeditor to split as shown in the image below.
Please, how best can i go about this?
I just need the first 8 digits.
I will ...
0
votes
3
answers
190
views
Emeditor to extract displayed strings for each line (maintaining the line order)
How can I use emeditor to find and extract regex strings but maintain the same lines +/- a delimiter?
The output I get when I try to extract displayed strings, extracts each matched string to a new ...
1
vote
1
answer
61
views
EmEditor Macro to Save Large Files from 0 to 100000
Trying to set up a macro for EmEditor to execute the following steps that I could otherwise do manually.
open file
view > large file controller
set To=1000
Click Apply
Click Save Opened Portion As....
0
votes
1
answer
120
views
EmEditor - force it to show plain text file instead of CSV?
I have 2 log files, one of them looks fine, the other has data split into columns.
How can I make EmEditor show it plain text style?
0
votes
1
answer
133
views
In checking "Use V8 as JavaScript engine" condition, some macros recorded in the same condition cannot run successfully
I checked the box Use V8 as JavaScript engine.
The demo.txt could be:
"date": "2019-11-22T20:49:21"
"text": ""
"date": "2019-11-22T20:49:24"...
0
votes
2
answers
112
views
EmEditor Macro Error - 'document' is undefined
I used EmEditor for years now. Now I want to create and use a simple macro.
But every time a run a macro I get the error message:
'document' is undefined
I can fix the problem by deinstallation and a ...
-1
votes
1
answer
263
views
Emeditor error "There is not enough space on the disk" - how to I configure where temporary files are stored
I used EmEditor to do a find and replace in a very large 100GB file, when I try to save it it says "there is not enough space on the disk".
I assume its talking about C:, the file i;m ...
0
votes
1
answer
51
views
How can I sort the 2nd column from 100 CSV files with EmEditor?
I have over 100 csv files where I need to sort the all the data in the 2nd column and I have some trouble figuring out how.
I was able to use this guide to delete specific columns
How can you delete ...
-2
votes
3
answers
226
views
Emeditor Multiple Marking
I have this text file containing employees and their details, I want to mark only those employees whose job_title is Operations Manager and their business_email. Please tell me how can I do this in ...
-2
votes
1
answer
58
views
What is the most common word in EmEditor
I got like 30mlion words in Emeditor format looks like:
Money
Love
Money
France
Telephone
Fork
.
.
.
I would like to know which word has the most repetitions. its possible to check it?
I dont want do ...
1
vote
1
answer
62
views
Em editor phone number formatting
I have phone number/number look like this
xxxxxxxxxx
I want to turn it to this formatting on em editor xxx-xxx-xxxx
Basically 3 digit -3 digit -4 digit like an USA phone number.
How can I do it?
...
1
vote
1
answer
47
views
How to sort emails data using its color codes in emeditor
I have this little challenge.
I want to ask, how do i sort the emails using the color code (light green) as stated in this picture here
I have tried to remove the non emails by scrolling through, ...
0
votes
1
answer
106
views
How to do Multiple Column Sorting/Bookmarking for Duplicates in Emeditor?
I want to do a multiple column sorting in emeditor for duplicates and highlighting all lines of each duplicates.
But i do not seems to find a way around it.
The picture above speaks to what i intend ...
3
votes
3
answers
275
views
It is possible to add numbers from 0-99 at the end of all line?
Hello i got something in format:
Marcin:Marcin
Pawel:Pawel
i want to add numbers between 0-99 at the end of line so result should be like:
Marcin:Marcin1
Marcin:Marcin2
..
Marcin:Marcin99
Pawel:...
0
votes
1
answer
61
views
EmEditor script: extend the selection range to include multiple separate words?
I want to extract all the misspelled words in Emeditor. As in the script below, I would first mark all the misspelled work with a special string "@@@" which is then used for extrating the ...
0
votes
1
answer
87
views
EMEDITOR Bookmark lines that end with specific letter (for example emails .de, .ch etc)
I am trying to bookmark only lines (in my case emails) that end with specific suffix.
For example .de or .ch or .it
But if I try to bookmark it takes also some email that is [email protected] (so it ...
0
votes
1
answer
66
views
EmEditor js macro: is it possible to use node.js API?
Is it possible to use node.js API in EmEditor js macro? Thank you!
0
votes
1
answer
277
views
EmEditor js macro: is it possible to suppress temporary updates in the editor?
I often write EmEditor macros with a lot of steps. In running such a long macro, content in the editor window would flash to update frequently.
Is it possible to suppress all temporary updates and ...
0
votes
1
answer
78
views
How to grep csv documents to APPEND info and keep the old data intact?
I have huge_database.csv like this:
name,phone,email,check_result,favourite_fruit
sam,64654664,[email protected],,
sam2,64654664,[email protected],,
sam3,64654664,[email protected],,
[...]
============...
-1
votes
1
answer
106
views
Batch Bookmark & Extraction of Bookmarked lines into MULTIPLE new file in EmEditor
I will like to do a follow up question to this question here : How to search and bookmark multiple strings at once in emeditor?
However, @Yutaka gave this response: https://i.stack.imgur.com/HLYoo.png ...
0
votes
2
answers
134
views
EmEditor macro in JS: how to get the full content of a document object
To get the content of a document in EmEditor macros, it seems that the full content need to be selected first and then Window.Document.Selection.Text is used to get its content. But this would lose ...
1
vote
1
answer
53
views
How to call external JS library using \J syntax
I'm trying to encrypt one column of my very big CSV file.
So I'm using JavaScript as the expression on the "Find and Replace" dialog of EmEditor:
https://www.emeditor.org/en/...
0
votes
1
answer
144
views
Highlight brackets when caret be after bracket
now, the pair brackets be highlighted only when caret be before bracket,
it will be good to highlight when caret be after bracket , like vscode/jetbrains IDE
2
votes
1
answer
51
views
Remove/change red underline in columns
EmEditor CSV mode shows a red underline to fill the remainder of a column when a cell's text is not wide enough. Does anyone know how to either remove or change this?Example of red underline buffering
0
votes
1
answer
206
views
When will EmEditor Javascript be updated from ES5.1?
EmEditor macro's are still based on JavaScript 5.1, which is (in 2022) ten years old and seven versions behind.
Many modern methods and functions are missing and it is hard to find good documentation (...
0
votes
1
answer
61
views
Is it possible to specify the beginning and end points of the file to be opened before opening?
Is it possible to specify the beginning and end points of the file to be opened before opening? For example, if I have a file of size 1234567890 bytes and I want to open it from 2345777 to 2345888, ...
0
votes
1
answer
34
views
What is the use of Point object in macro reference?
In emeditor macro reference, there is an Point object. The description contains only this:
Properties
x Represents the horizontal (or character) position of the Point object.
y Represents the ...
0
votes
1
answer
42
views
How to use same font for every file type in emeditor?
my css and txt files use different font ,see below,
how to use same font for every file type ?
thanks!
0
votes
0
answers
90
views
Unexpected result of copying multiple regex matches to clipboard
I have a file that contains the following text:
<div class="a">
a
b
c
d
</div>
<div class="b">
</div>
<div class="a">
e
f
g
h
</div>
...
0
votes
1
answer
111
views
Is there a shortcut to comment and uncomment in emeditor?
In vscode ,
ctrl+/ can comment ,
and can also uncomment ,
does emeditor support this?
-1
votes
1
answer
67
views
how to see where and what the changes are when file is modified externally
i modify file externally (see below), i want to know where and what the changes are in emEditor,
how to do ?
thanks!
-2
votes
3
answers
161
views
Match 1 or more words separated by comma
I want to match in Emeditor any 1 or more word(s) or phrases (that follow a specific language name) separated by comma and ending in semicolon.
For example, I would like to match this string for ...
0
votes
1
answer
76
views
In EmEditor, what expression to use to filter for rows containing mismatching number of specified characters across two columns
If column 1 contains one specified character, e.g., “(“ and column 2 contains two of these characters, which expression to use to filter for these rows. The specified character could be any other ...
1
vote
1
answer
51
views
In EmEditor, how to normalize multiple consecutive whitespaces to 1 in multi-column file
When I search for \s\s+ to replace with “ “, lines in column 1 and 2 get concatenated, unless text line in column 1 ends in punctuation mark. Please provide expression to normalize whitespaces w/o ...
0
votes
1
answer
202
views
In EmEditor, how to filter for lines matching across columns?
To clean sentence pairs (source/target language) to train a machine translation (ML) model, I want to filter out rows where source=target. Does this require a macro?
In Excel, e.g., you can match/...
0
votes
1
answer
145
views
Can Emeditor Perform a search and replace only to the Selected Column
I was using Emeditor and trying to search and replace within a csv file but I was unable to figure out if there is a way to make the search and replace just work on a particular column. So if I ...
0
votes
1
answer
124
views
Command for deleting multiple columns based on header name with EmEditor?
I am looking for a way to use macros to remove certain columns from multiple csv files based on header names.
I found this previous answered question: How can you delete the first and fifth columns ...
0
votes
1
answer
81
views
What is the mechanics of \J in Replace
I am now confused by \J in Replace Dialog Box. I want to know how does emeditor treat the js code after \J.
First, to my understanding, emeditor does a text substitute first. For example, to check if ...
0
votes
1
answer
34
views
Finding head section of HTML in Emeditor
I'm trying to use EmEditor to do some find and replace on HTML using regex. I know that Regex is not generally suitable for HTML parsing but I believe it will work for my limited requirement. I can't ...
0
votes
1
answer
216
views
EmEditor Filtering and Searching Column Separator / Filtering and Inserting a Separator into Multiple Rows of CSV
I have a table 20 columns wide and millions of rows long.
The information is public and voluntarily made public and disseminated publicly. I am an attorney, and I do not believe there can be any real ...
1
vote
2
answers
91
views
How To Get The Number Of Days Between Two Dates In Emeditor
In Emeditor, how do i get the number of days between 2 date columns? Example:
Column A: 25/11/2022
Column B: 29/11/2022
-> Column C: 4 days
0
votes
1
answer
75
views
Macro to swap selections
As an author, I frequently have to swap two words, phrases or sentences. I do that by dragging and dropping or by using the clipboard history, or by retyping, all of which are cumbersome and prone to ...
0
votes
1
answer
61
views
in EmEditor, a space width is not equal to a English letter width , how to resolve it?
see the picture, the width of space is only equal to half of width of "a", how to make them equal , thanks!
0
votes
1
answer
482
views
In EmEditor, how can I delete all rows that contain a given search pattern?
Search pattern \t[a-z] with Match Case open activated, highlights a few rows in a *.csv file (see screenshot). Is there a way to delete all these rows with one click in EmEditor?
Screenshot shows a ...
0
votes
1
answer
66
views
Optimised Function to copy columns of selected data by a variable amount (up/down)
Is it possible to create a javascript function that can be used in macros, that can move data by an amount when moving columns of data by variable rows. For example, by passing a parameter (iRow?) to ...