173
questions
0
votes
0
answers
43
views
How to get document Config in emEditor plugin (not macro)?
I want to write a emEditor plugin to toggle comment/uncomment, so i need to get LineComment1/LineComment2/CommentBegin/CommentEnd properties from highlightProp of config,
In emeditor macro, it is easy ...
0
votes
0
answers
340
views
Why does an occurrence of line separator (U+2028) break the search/select functionality?
A few weeks ago I was in the situation where the program successfully selected all lines that matched a regular expression, but did not select one particular (also matching) line. I checked the ...
1
vote
1
answer
51
views
How to match orphaned angle brackets using regular expressions in EmEditor?
<(?![^<>]>) finds orphaned opening angle brackets (<).
(?<!<[^<>])> fails to find orphaned closing angle brackets (>). Instead, it results in a syntax error.
Both ...
-1
votes
1
answer
106
views
Filtering specific word after a symbol
So currently im trying to filter a large list with different domains such as .com, .ca, ect
But filtering to just .ca doesn't work because it filters emails that have any type of .ca
For example a ...
-1
votes
1
answer
51
views
Emeditor column swapping
I have
Column A, column B, column C and column D.
In column D I have valid information. I need to take the valid mail from column D, find it in column C and replace it. The mails that are not replaced ...
0
votes
0
answers
125
views
Large text file search in larger text file
Been using EmEditor for most of my document handling and its been great over the years. However recently came into another request and now need to use a semi-large searchfile.txt (1GB) to search for ...
1
vote
2
answers
159
views
How to find the total number of columns (characters) in a particular line?
I have found that the GetLines method of the Document object retrieves the number of lines in the document. But I have not found a way to obtain the number of columns (i.e. user-perceived characters ...
1
vote
1
answer
121
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
38
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
115
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
1
answer
192
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
133
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
379
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
92
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
265
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
154
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
143
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
491
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
54
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
258
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
63
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
94
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
53
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
171
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
339
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
75
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
128
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
79
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
376
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
99
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
140
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.sstatic.net/HLYoo.png and ...
0
votes
2
answers
180
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
70
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
151
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
63
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
219
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
65
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
36
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
56
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
99
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
188
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
95
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
172
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
105
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
75
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
311
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
226
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
157
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
114
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
36
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 ...