Notepad++ Regex Replace doesn’t work on Notepad++ December 12, 2023 by Tarik With notepad++ you’ll need to use \2-\1 as the replacement string. Sources : Mark’s Speechblog