title: How to swap two words in Visual Studio Code with a find and replace?
body: <p>The project I'm working on has a number of yaml files, where all the instances of <code>lat:</code> and <code>long:</code> need to be swapped, since the data is incorrectly labeled.</p>
  
  <p>So for instance, the following: </p>
  
  <pre><code>- lat: "-82.645672"
    long: '44.941747'
    title: "Item 1"
  - lat: "-82.645744"
    long: '44.940731'
    title: "Item 2"
  - lat: "-82.645744"
    long: '44.940731'
    title: "Item 3"
  - lat: "-82.646599"
    long: '44.941441'
    title: "Item 4"
  </code></pre>
  
  <p>Would need to look like this:</p>
  
  <pre><code>- long: "-82.645672"
    lat: '44.941747'
    title: "Item 1"
  - long: "-82.645744"
    lat: '44.940731'
    title: "Item 2"
  - long: "-82.645744"
    lat: '44.940731'
    title: "Item 3"
  - long: "-82.646599"
    lat: '44.941441'
    title: "Item 4"
  </code></pre>
  
  <p>I'm struggling to figure out how to swap these two words globally. I looked at the plugins that are available, but they only seem to work with the current file you're editing, and when highlighting only a couple of words (i.e. like this one <a href="https://marketplace.visualstudio.com/items?itemName=davidmart.swap-word" rel="nofollow noreferrer">https://marketplace.visualstudio.com/items?itemName=davidmart.swap-word</a>). I was looking into using regex as a possible solution, but can only find ways to reorder words on the same line. Is there a regex that can be used in a find and replace to swap two words that can get applied to all files in a project?</p>