- Posted by
- BTW It can be simplified to: F: ^(.+?\l)(\u.+) R: $2\r\n$1\r\n And Match case is not needed... Why do you use "$" instead of "\"? Excuse me for asking: May you share your e-mail? How to contact you? Is it allowed to share email here at this forum?Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Gabarito
12:59 - Sep 12
- Excellent! Perfect! https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/svg/1f642.svg https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/svg/1f642.svg https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/svg/1f642.svg Thank you.Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Gabarito
12:28 - Sep 12
- I would still ask you both something more. How to invert original and translation phrases? I mean, how to have this? Com seus cabelos de estrelasAvec ses chevaux d'étoiles Como um anel de SaturnoComme un anneau de Saturne Um balão de carnavalUn ballon de carnaval ...and end with this? Avec ses cheva...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Gabarito
12:15 - Sep 12
- Thank you, Fleggy. Your expression works very well too. I would say it works even better, because it puts new line between two sets of phrases. And not only that, but also because there are cases where the letter is capitalized before the end of the phrase and it should not be broken at that point. ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Gabarito
12:03 - Sep 12
- Everything was very well explained. Yes, indeed, I had not checked the Match case checkbox. And I was not even aware of the need to use the "kept-back" or "look-ahead" features. Regarding the HTML page code, the enigma has finally been clarified. I have come across this type of problem before and co...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Gabarito
9:11 - Sep 12
- I ran into a very strange situation. After copying and pasting text from a web page, I realized that I would need to do some regular expression tweaking to fix the problem. The page is this: https://www.letras.mus.br/michel-legrand/61187/traducao.html When I copy the lyrics of the song and its trans...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Gabarito
0:59 - Sep 12
- I'm trying to write some UltraEdit macros and debug some mistakes I make. I'm not finding a way to decrease the processing speed to see step-by-step of each line. It should have some kind of delay or wait command to put between lines to watch what is going on, during the macro playing. Or some brute...Posted in Macros
-   Topics
-   Views
- Gabarito
13:40 - Jun 15
- Mofi, I apreciate your time and attention for my thread. Your scripts are always of the highest quality, well commented and written. Thank you. Doing some testing, I noticed that now it captures the "Copy of..." prefix of filenames accordingly. Good. But I can't see it matching words after the first...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 16, 2023
- I copied GetListOfFiles , GetFileExt , GetFileName and GetNameOfFile to the script file. As it is now, it's OK. But I think it will not discover ALL similar files. I got the result below after applied the script: F:\tests\addons.json F:\tests\Copy of addons.json F:\tests\content-prefs.sqlite F:\test...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 15, 2023
- Both solutions work fine. They list the files with same name, as requested. But I think we can improve our solutions. How to list only the files with part of the name the same? Explaining. When I copy some file in the same folder, Directory Opus, Windows Explorer or other file manager puts some extr...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 15, 2023
- For the first task use GetListOfFiles(0,"D:\\","one file.jpg",true); Thank you, Mofi. I called the function this way: if (GetListOfFiles(0,sParentFolderPath,"*.*",true)) { UltraEdit.activeDocument.top(); UltraEdit.activeDocument.findReplace.mode=0; UltraEdit.activeDocument.findReplace.matc...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 14, 2023
- I'm trying to write a script that could find all files inside a folder and its subfolders. " GetListOfFiles.js ", written by Mofi, already do that. But how to modify it to find only files with exactly same name? Like this: d:\folder1\one file.jpg d:\folder2\one file.jpg d:\folder3\one file.jpg Exten...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 14, 2023