- Posted by
- I'm trying to figure out how I could go through an entire site and perform a search for a string in the < body >. If string is found, I would like to output the page <title> , date modified , which would be found with the following format modified" scheme="W3CDTF" content="[\d]{4}-[\d]{2}-[\d]{2}" ,...Posted in Scripts
-   Topics
-   Views
- Tim
Nov 09, 2012
- I'd like to add numbers that always appear after the same set of characters in a string and display the total. xyz.htm' target='sub_results'>27 time(s) abcedgy.htm' target='sub_results'>3 time(s) 123.htm' target='sub_results'>2 time(s) 668bp6.htm' target='sub_results'>2 time(s) a.htm' target='sub_re...Posted in Scripts
-   Topics
-   Views
- Tim
May 08, 2012
- I want to replace a specific string that occurs in 6000 files (file0001.htm-file6000.htm for this example) with the name of each of those files. [\./]*thisdirectory/thisfilename.html is the UltraEdit regular expression search string to find thisdirectory/thisfilename.html appearing in all 6000+ file...Posted in Scripts
-   Topics
-   Views
- Tim
Mar 21, 2012
- Thanks again Mofi. InsertMode ColumnModeOff HexOff UnixReOff ReplInFiles Recursive MatchCase Log "C:\inetpub\wwwroot\testing\" "*.htm" " " " " ReplInFiles Recursive MatchCase Log "C:\inetpub\wwwroot\testing\" "*.htm" "—" "—" ...... Seems to work well. I just ran the macro on 250+ .htm fil...Posted in Macros
-   Topics
-   Views
- Tim
Nov 29, 2008
- Thanks Mofi - Your version works great. When I have lots of time I will try to find out exactly what the difference is between the 2 files, besides the name. :? Sorry about the smiley I couldn't resist. I have another, kind of related, ongoing issue that I am having the hardest time finding any info...Posted in Macros
-   Topics
-   Views
- Tim
Nov 27, 2008
- Thanks Mofi but this send Ultraedit into an "You have entered an invalid regular expression!" message and endless loop and I have to Ctrl+Alt+Del to close the program. I cut and paste the code from the screen, removed trailing spaces.. Any idea what is happening? I really like the idea of excluding ...Posted in Macros
-   Topics
-   Views
- Tim
Nov 14, 2008
- Mofi, I reintroduced your line to replace spaces with _ as I was running into trouble with large lists where 1.0 would become 10 and later on I'd have an item 10 thus creating duplicate anchors... There is one thing that I hadn't noticed until recently. This macro is taking all the . out of my meta ...Posted in Macros
-   Topics
-   Views
- Tim
Nov 14, 2008
- Mofi, I have tried your macro and it works thank you very much. I have replaced the "_" with "" so that it just takes the spaces out. Is there a way of sending the change results to the Output Window so that I can rapidly check for anomalies? The regular expression I had been working on looked somet...Posted in Macros
-   Topics
-   Views
- Tim
Aug 20, 2008
- Hi, I'm new to this board and fairly new to Regular Expressions. I have used every combination of words in the Forum search feature, but have not found a solution for this. I'm trying to get rid of spaces in anchors, refs and ids in files that I am trying to convert to XHTML from old HTML files that...Posted in Macros
-   Topics
-   Views
- Tim
Aug 19, 2008