Regex for non-consecutive upper-case words

后端 未结 5 1177
抹茶落季
抹茶落季 2021-01-14 17:15

Here\'s one for you Regex wizards.

This is for use within Notepad++, i.e. it is entered directly into the search and replace dialog.

I need

5条回答
  •  Happy的楠姐
    2021-01-14 17:48

    You should check for surrounding characters with negative lookahead and negative lookbehind:

    (?

    Live demo

    Notepad++ v6.5.1 & works on multi-line purposes too

    Notepad++ v6.5.1

提交回复
热议问题