Questions tagged [ultraedit]

UltraEdit is a long-standing, popular code and text editor, with its own macro language, a powerful column-editing mode, custom environments, tag lists, and templates.

UltraEdit is a long-standing, popular code and text editor, with its own macro language, a powerful column-editing mode, custom environments, tag lists, and templates.

The editor has a powerful trans-file Regular Expression search and replace feature, a "projects" feature for grouping related files, and integration with third-party tools that you can add to the environment.

Version 17 brings enhanced file explorer views, tighter integration with the sister application UltraCompare, customized tabs, and search expression highlighting.

See http://www.ultraedit.com/products/ultraedit/ultraedit_features.html for a complete features list.

106 questions
35
votes
10 answers

Replacing multiple blank lines with one blank line using RegEx search and replace

I have a file that I need to reformat and remove "extra" blank lines. I am using the Perl syntax regular expression search and replace functionality of UltraEdit and need the regular expression to put in the "Find What:" field. Here is a sample of…
Art
  • 1,519
  • 2
  • 13
  • 21
14
votes
5 answers

Regex expression to back reference more than 9 values in a replace

I have a regex expression that traverses a string and pulls out 40 values, it looks sort if like the query below, but much larger and more…
Dustin Gamester
  • 792
  • 3
  • 8
  • 24
6
votes
1 answer

Is there a way to get the encoding of a text file in UltraEdit?

Is there a setting in UltraEdit that allows me to see the encoding of the file?
gsharp
  • 27,557
  • 22
  • 88
  • 134
4
votes
1 answer

RegEx - How to select the second comma and everything after it

I'm using UltraEdit. I have a text file that contains strings like this Workspace\\Trays\\Dialogs\\Components, Expand, kThisComputerOnly, P_BOOLEAN }, WebCommonDialog Sign_Out, Left, kThisComputerOnly, P_INTEGER_RANGE(0, 4096) }, ThreeDTextDlg, x,…
Brad Askins
  • 53
  • 1
  • 1
  • 6
4
votes
2 answers

How do we match any single character including line feed in Perl regular expression?

I would like to use UltraEdit regular expression (perl) to replace the following text with some other text in a bunch of html files: I tried to use
bobo
  • 8,439
  • 11
  • 57
  • 81
4
votes
3 answers

How to fix indentation in Systemverilog source

I am using systemverilog very often. I am using UltraEdit as text editor. I use also VIM. Sometimes I have to copy code from some other places and paste it into my code. It may not be indented properly. It is a difficult task to indent it properly…
Vineeth
  • 111
  • 2
  • 11
4
votes
7 answers

Newline Madness in Bash Script

i have a bash script I edit on windows using UltraEdit and save as UTF-8 No BOM, using Unix Line Terminator style, as specified in the "save as" dialog box in UE. I then upload it to a centos 5 x86 machine running parallels virtuozzo, and everytime,…
Gaia
  • 2,872
  • 1
  • 41
  • 59
3
votes
3 answers

UltraEdit regex replacing function exceeds available resource

I want to make shorter the long quotes in a large txt. My lines: 'Az ital miatt lettem szerelmes, A szerelem miatt pedig adósságba futottam, És bár küzdöttem, küzdöttem és küzdöttem, mégsem tudok szabadulni tőlük. Alexander Brome 'E. T." volt az…
3
votes
2 answers

Regex to find missing quote

I need a perl regular expression to select content only if the content is missing either the begining quote or ending quote. The begining quote will always be precedded by an equal symbol =. The ending quote can be followed by a space, more text or…
JennyP
  • 35
  • 6
3
votes
8 answers

Best Gnome alternative to UltraEdit?

As I'm switching from Windows to Ubuntu/Gnome, I'm looking for an alternative to UltraEdit. I tried a few tools, but they often lack some really useful features, such as: Syntax coloration FTP editing of files (access files on a FTP without using…
Pierre-Yves Gillier
  • 507
  • 1
  • 4
  • 17
3
votes
2 answers

Ultraedit docker syntax hightlighting file

At http://www.ultraedit.com/downloads/extras/wordfiles.html I did not find a wordfile for Docker. http://www.ultraedit.com/support/tutorials_power_tips/ultraedit_linux/add_a_wordfile.html explains how you can role your own. Inspired by…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
3
votes
2 answers

Replace every n linebreak to tabs in a file

is it possible to replace every 4 Lines the Break to a Tab in UE or NPP with a regex search/replace? File before: #12 ab cde ef #34 ghij ijk kl #5678 uv w xyz ... should be after replace #12 ^t ab ^t…
gsxr1300
  • 351
  • 2
  • 4
  • 12
3
votes
1 answer

How to make UltraEdit autocomplete class members/functions of C++ class?

I'm currently using UltraEdit, which is armed with Ctags, to edit C++ files (.cpp). Its Ctags support automatically autocompletes symbols while I'm typing—but it can't correctly confine itself to only the members of a class, which is so blind. How…
Gary Gauh
  • 4,984
  • 5
  • 30
  • 43
2
votes
1 answer

UltraEdit (or MacOS regex): Delete multiple lines in xml

I have an unformatted xml file in which I would like to delete tags of a specific name that contain some value. Example: ...
Bernie Lenz
  • 1,967
  • 23
  • 45
2
votes
1 answer

How to find a number with one or more digits using a regular expression find in UltraEdit?

I use the regular expression search string amzn-src-id="[0-9]" in UltraEdit, but the result is that found are only the numbers 1 to 9, i.e. numbers with just one digit. For example: amzn-src-id="1", amzn-src-id="2", amzn-src-id="3", ...,…
1
2 3 4 5 6 7 8