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
1
vote
4 answers

XML indentation in UltraEdit

Background With UltraEdit you have the option to properly format XML content: View > View as (Highlighting file type) > XML Which changes the coloring so that tags, attributes and content are better readable. Then you can do: Format > XML Convert…
Spikee
  • 3,967
  • 7
  • 35
  • 68
1
vote
1 answer

UltraEdit Replace function exceeds available resources

The goal of my little macro is to find the 1000th row, and append a nonsense string to it, so that I can then transpose the data and add commas between the row values. I found a search term for the replace function:((.+?\r\n){1000}) and I replace…
E. Ryabko
  • 13
  • 3
1
vote
1 answer

UltraEdit: How to search only in the first line

I have a DAT file with multiple lines and I want to search only on the first line. For example, my DAT file contains this text: Field1þField2þField3þField4þ JohnþUKþStevenageþ9012þ MerlitþUSAþBelAirþ56þ I want to search how many fields I have (in…
user5245950
1
vote
1 answer

Ultraedit regex to remove all words which contains number

I am trying to make a Ultraedit regex which allows me to remove all words of a txt file containing a number. For example: test test2 t2est te2st and... get only test
user699998
  • 27
  • 7
1
vote
2 answers

Why must the caret character ^ escaped on running a search/find/replace in UltraEdit?

When I am trying to search for some word containing caret character ^ in UltraEdit, it is not showing me any searched result. For this I have to search the word with double occurrence of ^^. Example: The string to find is Search^This. But I have to…
user3103991
  • 407
  • 1
  • 8
  • 13
1
vote
2 answers

Perl regular expression looks incorrect according to syntax highlighting of UltraEdit

A previous post looks close to what I would like to try: Multiple Substitutions Here are the substitutions I am trying to make: $description =~ s/\"/\\"/g; $description =~ s/\n/
/g; When I view my CGI script using UltraEdit it looks to be…
treeSeeker
  • 97
  • 1
  • 2
  • 11
1
vote
1 answer

Improved UltraEdit wordfile for Ruby? (code folding)

The default Ruby wordfile in UltraEdit does not support code folding. Is there a Ruby wordfile for UltraEdit that does support code folding?
sutch
  • 1,225
  • 1
  • 13
  • 28
1
vote
5 answers

Using regex to find a double quote within string encased in double quotes

I am using ultraedit with regex. I would like to find (and replace) and embedded double quotes found withing a string that starts/ends with a double quote. This is a text file with pipe | as the delimeter. How do I find the embedded double…
john walker
  • 11
  • 1
  • 2
1
vote
1 answer

UltraEdit find and replace regular expression

I have the code bellow to find the regular expression after %hostname and it replaces all the text correrctly for #hostname. How do I replicate this for %Location and #Location. I can't seem to get the replication working for more than one…
user3116039
  • 11
  • 1
  • 3
1
vote
1 answer

Ultraedit: How can i use clipboard content in FindRegexp macro?

In Ultraedit macros, the following works, and finds the content of the clipboard as expected: Find "^c" but the following does not: Find RegExp "^c" How can i use the contents of the clipboard in a Find RegExp macro?
kutschkem
  • 7,826
  • 3
  • 21
  • 56
1
vote
1 answer

Regular Expression for finding position of a delimiter and removing the text after that in Notepad++ or Ultra Edit

Given a pipe-delimited row: ABC|123|pqr|cde|abc.txt| I have to find 3rd pipe delimiter and remove the rest of the line. Below is what the result should look like. ABC|123|pqr| How can I achieve this?
1
vote
1 answer

Problems with string manipulation in an UltraEdit script

Inside an UltraEdit script I've got a bit of code like so: var FNstring = UltraEdit.activeDocument.selection; var FNstring = UltraEdit.activeDocument.selection.replace(">>","

"); var FNstring =…
fvg
  • 11
  • 2
1
vote
1 answer

How can I find and replace between [ ] characters using regex?

I want to delete strings between [ ] characters by using Notepad++ or Ultraedit Will be deleted string avenged sevenfold [ something ] dear god That will be just like below avenged sevenfold dear god I try to delete it just like this pattern : …
1
vote
2 answers

How to find multi keys using regex in UltraEdit?

I only found I can find A or B in UltraEdit Help, http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/regular_expressions.html#or ^{A^}^{B^} (A|B) Matches expression A OR B. Now I want to find A or B or C, how to do?
Victor S
  • 4,021
  • 15
  • 43
  • 54
1
vote
1 answer

UltraEdit scripting using JavaScript and wildcards

I have a program using a combination of JavaScript and UltraEdit scripting. The program has an array of strings to search for in a file/tab. If found, it moves the corresponding lines to a new file/tab. When using exact match it works…
dddawg
  • 23
  • 1
  • 5