- Posted by
- Hi fleggy, Every <caption><p> and <caption><title> will have its closing pair but the contents of <caption><p> and/or <caption><title> could be like <caption><title>Notations for the</bold> statement <italic>of</italic> problem.</title></caption> <caption><p></italic>What does <italic>in vito</itali...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
May 03, 2018
- Hi fleggy, What if the blocks are not correctly paired? Will it not work?Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
May 03, 2018
- Hi, I want to remove all the opening and closing tags: <italic>, </italic>, <bold> and </bold> from inside of every <caption><p>...</p></caption> and <caption><title>...</title></caption> in the file, i.e. the contents inside <caption><p>...</p></caption> and <caption><title>...</title></cap...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
May 03, 2018
-   Topics
-   Views
- don_bradman
Apr 25, 2018
- I'm trying to find out whether there are dot, comma, semicolon or colon just before the closing tag </title> in my file except when there is a semi-colon which does not represent a 4 digit hex entity. Text sample <title>Dhind</title> <title>WT.</title> <title>Plant Leaves:</title> <title>Denia;</tit...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
Apr 24, 2018
- Thanks Mofi :)Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
Oct 19, 2017
- How do I remove spaces immediately after the tags <sub> or <sup> and immediately before the closing tags </sub> or </sup> in one replace? Sample text Today <sup> 1</sup> is <sup> x </sup> the day <sub> y</sub> when <sub>y </sub> 15 people <sup> 5 </sup> died <sub> 5 </sub> Expected output Today <sup...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
Oct 18, 2017
- Hi fleggy, I want to upgrade to the newest version but there are some major issues (for my work at least) in the newer versions that I'm facing. Opening a file takes 2-3 seconds and sometimes even longer. While using search with list lines containing strings the list appears after 2-3 seconds after ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
Sep 08, 2017
- Thank you both, fleggy and Mofi :)Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
Sep 07, 2017
- Hi fleggy, It seems that in the new versions of UE your pattern works as desired. However, in older versions 14.10 and 18.20 that I use it does not and I'm not quite sure why. Negative lookbehinds are supported in the version that I'm using but it does not work as expected in this case for some reas...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
Sep 06, 2017
- Hi fleggy , but the pattern does not work. I think you did not understand the problem. It simply finds all <institution type="..."> tags even those that are inside <institution-wrap>....</institution-wrap> . I only want to find those <institution type="..."> tags that are not inside a <institution-w...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
Sep 06, 2017
- I have some files in which there are one or more <aff> tags in it, each <aff> can contain one or more of other tags like <institution type="institution">, <institution type="department">, <city>, <country>, <sup> , etc. According to the rules that needs to be followed in these files is that each gro...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- don_bradman
Sep 05, 2017
- Hi Mofi , if I use the below code: UltraEdit.newFile(); UltraEdit.activeDocument.unixMacToDos(); Then why do I need to determine the line terminator of the new file (as I have already converted the file to DOS using UltraEdit.activeDocument.unixMacToDos() )? Shouldn't the below code be enough to cre...Posted in Scripts
-   Topics
-   Views
- don_bradman
Sep 03, 2017
- Thanks Mofi for the info. BTW, does these commands work on UltraEdit version 14.10? My above posted script does not work in it. I could not find any other reason for it not working. Can you tell what the reason might be? Thanks :)Posted in Scripts
-   Topics
-   Views
- don_bradman
Sep 02, 2017
- After a lot of trials I've come up with a method to write a script for my task which is quite different from Mofi's method of approach and the code is given below. UltraEdit.activeDocument.selectAll(); UltraEdit.activeDocument.copy(); var my_File = UltraEdit.clipboardContent; var my_exp = /<disp-for...Posted in Scripts
-   Topics
-   Views
- don_bradman
Aug 26, 2017