- Posted by
- Thanks for the info, will use that in future. However I just wrote a node script to do this for me and dump it to a json file.Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Darcey
Jun 02, 2021
- Hi, I have a file with 1000s of IPs, is there a way I can strip out all the duplicate IPs to only 1 entry of it? Thanks DarceyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Darcey
Jun 02, 2021
- Nice 1, thanks for the info :)Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Darcey
May 28, 2021
- Thanks for that Mofi :) Do you know the macro code to systematically go through each open file, run macro and exit on last open file? or if that's not possible Go through each open file, run macro, save and close and then when no more are open exit macro ? At least with the first one I have the opti...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Darcey
May 28, 2021
- Just tried a macro: ``` FindInFiles "W:/page/set1/" ".html" "<?php" InsertMode ColumnModeOff HexOff UltraEditReOn Loop 0 Top Find "<?php" IfFound StartSelect Find Select "?>" EndSelect Delete EndIf EndLoop ``` However just results in: Search complete. Found '' 0 time(s). (0 file(s)). If I do a "find...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Darcey
May 28, 2021
- Hi, Not sure how to do this with the find and replace regex and am wondering if anyone knows how to do this. Task 1 I have 100+ files with php tags and code inbetween all start with <? then lots of php code and ends with ?> I need to replace just the first occurrence of <?php*******?> and not the re...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Darcey
May 28, 2021
- Thanks Mofi, I will look into this more.Posted in UEStudio General Discussion
-   Topics
-   Views
- Darcey
Sep 16, 2011
- I've created a new AS3 (ActionScript 3) word file, has a lot of extras that AS3 has, doesn't quite detect functions correctly as the reg ex for this is beyond me (getters and setters are just listed as get and set) but has some 3rd party apis in there like away3d and greensock. http://www.allforthec...Posted in Syntax Highlighting
-   Topics
-   Views
- Darcey
Sep 16, 2011
- Interesting... Thanks for the info mofi. Is it possible to achieve this insert with a script? Is it possible to detect tab indent the cursor is on when the script is run and insert a string? Could be a simpler approach. Thanks DarceyPosted in UEStudio General Discussion
-   Topics
-   Views
- Darcey
Sep 15, 2011
- Hi, Is it possible to create a template item that inserts at the tab indent and keeps that tab indent position for multi line templates? So if the file I'm working on and at the position I am at is tab indented twice, it will paste the mutli line template at indent tab 2 instead of 1st line correct ...Posted in UEStudio General Discussion
-   Topics
-   Views
- Darcey
Sep 15, 2011