title: AHK: Find text and Replace all
body: <p>How do I replace the letters ve at the end of each word with the letters on. Please see the picture:<a href="https://i.stack.imgur.com/vKejn.png" rel="nofollow noreferrer">I know that this word is not correct but it is an example only to clarify</a>
  Such a code sentence:</p>
  
  <pre><code>#IfWinActive ahk_class Chrome_WidgetWin_1
  F2::
      Clipboard := ""
      Send, ^+{End}
      Send, ^c
      ClipWait
      Clipboard := RegExReplace(Clipboard, "^(.*?)i(.*)", "$1o$2")
      Send, ^v
  return
  </code></pre>
  
  <p></p>