In Notepad++ RegEx, I want to search for all strings starting with a tilde and terminating with \n, and within each match replace all spaces with non-breaking spaces.
That is, I want to find all instances of \~.*^, and within the resulting $0, replace all [Space]s with [Non-breaking Space].
Is this possible?



