So, moving my notes out of another notetaking app, some of the resource links have whitespace in them, breaking them.
I’ve had a little play around in VSCode getting a regex to replace all the blank spaces, but it’s proving quite the headache (no variable lookbehinds in the find in files).
Anybody found a quick solution for this before I decide to write a Python script to run through my files?
This didn’t pick up brackets inside the brackets, as well as double spacing was transferred into a single space - so I had to go and rename the files.
If I could be bothered, I’d make a loop to get the script to loop through the sub directories in a directory at some point, for now I’m just getting the job done.
Hope this helps somebody at some point. Looping through your files and replacing the text can be pretty destructive, so make sure you have a backup!