Reference info: Notepad++ Regex to replace capitalised-case words with space-capital
I need to add to this a requirement that the match contains a defined prefix. For example I want to replace:
"name": "CapitalCaseWords"
"name": "AnotherStringSentence"
"ThisStringShouldntBeReplaced"
with:
"name": "Capital Case Words"
"name": "Another String Sentence"
"ThisStringShouldntBeReplaced"
Where the prefix, in this case, is "name": "
.
I'm using (?<=[a-z])(?=[A-Z])
but it's not working for prefix.
Regex101 example: https://regex101.com/r/IpmOnK/2