I'm trying to find a regex that will be capable of adding a trailing space at the end of every segment in a file in Studio. Does anyone know of a regular expression that would do the trick? Thanks!
I'm trying to find a regex that will be capable of adding a trailing space at the end of every segment in a file in Studio. Does anyone know of a regular expression that would do the trick? Thanks!
If you want to avoid having more than one space at the end of the segment in case there is already one, try this (without the quotes):
I also tried to search with a negative lookbehind "(?<! )$", but it does not seem to work in Studio (but works fine in Notepad++), unless I am missing something.
Thank you very much for this suggestion, Raphaël. I didn't need it this time, but I have copied it for future reference!
Thank you very much for this suggestion, Raphaël. I didn't need it this time, but I have copied it for future reference!