So, the API editor has added extraneous double spaces to the start of random lines in my scripts. While it has zero effect on the function of the script, I'd like to remove them all if possible. However going through several thousand lines of code to remove all of them manually is not really practical. I noticed that the script editor's find functionality allows you to search by RegEx, which is a great way to find the locations I want to replace, but it appears to be a very limited version of Regex, so for instance the following:
Thanks,
Scott
(?:(\s\s\s\s))+\s\sfinds all of the lines that have an extra ' ' in them perfectly, but the regex parser doesn't respect the non-matching group syntax, so when I go to replace the \s\s with emptiness, it replaces the whole match with the emptiness deleting the tabs as well as the spaces. Anyone know of a way to do this in the API editor or a free/cheap desktop editor that would allow me to do it?
Thanks,
Scott