1
Feature Requests and Suggestions / Re: Change all links in files in selected folders to lower case
« on: December 07, 2021, 03:43:48 »
Thanks but I had done that and which was easy to do, but what I had asked was to change all characters btwn http:// and .html within all files in selected folders, not just the folder and files names. I looked at lot for the solution ("pray and press") and what I found as a result was that to convert upper case letters in links to lower case then
I do not know regex (imagine a world in which this was the written language!) but was looking to convert all the upper case caps in links to lower case, and I searched a lot trying to find out how to do this. And so thanks to all who help, whom I thank God for.
Code: [Select]
(http.*[A-Z].*\.[a-zA-Z]{2,4}) worked as a regex in Text Crawler free (though mine is an old ver. 3.0.3) to find 2,238 links in a large file of mine,
as does "http[s]?://.+?"
though (courtesy of Stefan from Grepwin) the pattern of
((http|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])) - which includes the parenthesis - seems to find more (3,2006) and also,
href="http[s]?://.+?" finds 3,0033 In Text Crawler.
I did not try \L\1 to convert to lower case since that is an option offered in the program, and running the above resulted in 3,0033 being changed, though it only changed the case.
I had also found http://e.informer.com/sobolsoft.com/html HTML Tags Change To Uppercase or Lowercase Software that converts uppercase letters in links to lower case, though it is $20 if you want to convert more than one file at a time, and is very slow or can locks up with large files, but it seemed to work well to convert upper case letters in links to lower case in files that I used it for.I do not know regex (imagine a world in which this was the written language!) but was looking to convert all the upper case caps in links to lower case, and I searched a lot trying to find out how to do this. And so thanks to all who help, whom I thank God for.