- Posted by
- Brilliant! Just ran it in "Replace in Files" and it worked a treat. Thank you so much.Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Derek
Apr 14, 2018
- I have 200+ webpages in a folder. What I want to do is replace the text between the <h1></h1> tags with what is between the <title></title> tags so that both are the same. Is there an easy way to do this?Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Derek
Apr 13, 2018
- Many thanks indeed, Mofi - I downloaded Xenu and it proved a perfect solution.Posted in Custom User Tools/Tool Configuration
-   Topics
-   Views
- Derek
Nov 02, 2014
- Is there any easy way to test that all internal links within a document are working? Several links may be pointing to the same id. <a href="#blahblah"> <p id="blahblah">Posted in Custom User Tools/Tool Configuration
-   Topics
-   Views
- Derek
Nov 01, 2014
- Mofi, here is the document I am working on, albeit with the majority of content removed: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head><meta http-equiv="content-type" content="text/html; charset=UTF-8"/><meta name="generator" conte...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Derek
May 28, 2014
- Thank you, Mofi. The text to be replaced was, for example: <p><span class="font4">“Matthew, Mark, Luke and John,</span></p> <p><span class="font4">Bless the bed that I lie on.</span></p> <p><span class="font4">There are four corners to my bed,</span></p> <p><span class="font4">Around them are four a...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Derek
May 28, 2014
- Hello. I'm probably overlooking something very simple, but I am encountering a problem whereby when I undo a replace it is generating a string of odd characters (looks a bit like Chinese to me) instead of the original text. For example, the search string <p><span class="font4">^(*^)</span></p> to be...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Derek
May 28, 2014
- My goodness! That was a jolly good answer. I did suspect that the curly brackets might be a problem. I will copy that script to a file where I have kept your very useful previous replies to my queries and will put it to the test as soon as I can. Thank you.Posted in Scripts
-   Topics
-   Views
- Derek
Mar 24, 2013
- Thank you for your response. The trouble is that I have never used a script before. I changed it to the following to suit my search parameters but got the message that I had entered an invalid regular expression. My not working script: if (UltraEdit.document.length > 0) { UltraEdit.insertMode(); ...Posted in Scripts
-   Topics
-   Views
- Derek
Mar 24, 2013
- Hello, I have UltraEdit 16.30, and I'm trying to find a way to replace numbers by an incremented amount. What I have done is to manually create anchors for notes as follows: {n1} {n2} {n3} etc. But I have accidentally repeated {n46}, so that the subsequent numbers are out by one, i.e. I need to add ...Posted in Scripts
-   Topics
-   Views
- Derek
Mar 23, 2013
- Excellent, Mofi! - once again I am in your debt. I created the macro and it worked wonderfully. Thank you yet again.Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Derek
Mar 26, 2012
- Hello! I suspect/hope that the answer to my question will be relatively straightforward. I have been trawling around for a way to force text between small caps tags to uppercase, e.g.: <span class="font2" style="font-variant:small-caps;">Sir Denis O'Grady,</span> Thanks to Mofi's previous help I kno...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Derek
Mar 25, 2012