title: Notepad++ and regex - how to title case string between two particular strings?
body: <p>I have hundreds of bib references in a file, and they have the following syntax:</p>
  <pre><code>@article{tabata1999precise,
    title={Precise synthesis of monosubstituted polyacetylenes using Rh complex catalysts. 
  Control of solid structure and $\pi$-conjugation length},
    author={Tabata, Masayoshi and Sone, Takeyuchi and Sadahiro, Yoshikazu},
    journal={Macromolecular chemistry and physics},
    volume={200},
    number={2},
    pages={265--282},
    year={1999},
    publisher={Wiley Online Library}
  }
  </code></pre>
  <p>I would like to title case (aka Proper Case) the journal name in Notepad++ using regular expression. For example, from <code>Macromolecular chemistry and physics</code> to <code>Macromolecular Chemistry and Physics</code>.</p>
  <p>I am able to find all instances using:</p>
  <pre><code>(?&lt;=journal\=\{).*?(?=\})
  </code></pre>
  <p>but I am unable to change the case via Edit &gt; Convert Case to. Apparently it doesn't work on find all and I have to go one by one.</p>
  <p>Next, I tried recording and running a macro but Notepad++ just hangs indefinitely when I try to run it (option to run until the end of the file).</p>
  <p>So my question is: does anyone know the replace regex syntax I could use to change the case? Ideally, I would also like to use &quot;|&quot; exclusions for particular words such as &quot; of &quot;, &quot; an &quot;, &quot; the &quot;, etc. I tried to play with some of the examples provided <a href="https://stackoverflow.com/questions/2078915/a-regular-expression-to-exclude-a-word-string">here</a>, but I was not able to integrate it into my look-aheads.</p>
  <p>Thank you in advance, I'd appreciate any help.</p>