Find/Replace regex to remove html tags

后端 未结 5 762
别那么骄傲
别那么骄傲 2021-02-01 22:17

Using find and replace, what regex would remove the tags surrounding something like this:

5条回答
  •  抹茶落季
    2021-02-01 23:07

    This works perfectly for me:

    • Select "Regular Expression" in "Find" Mode.
    • Enter [<].*?> in "Find What" field and leave the "Replace With" field empty.
    • Note that you need to have version 5.9 of Notepad++ for the ? operator to work.

    as found here: digoCOdigo - strip html tags in notepad++

提交回复
热议问题