Regex Find/Replace in Notepad++ including new lines

后端 未结 1 1711
渐次进展
渐次进展 2021-01-28 02:45

Need to replace/remove multiple occurrences in notepad++ using regex. Here is an example:

....
somethingtext to be removed or replaced
t         


        
相关标签:
1条回答
  • 2021-01-28 03:06

    One way to do this find/replace:

    Find what: (<item>).*?(<\/item>)\R?

    Replace with: $1$2

    Check the Matches new line checkbox.

    More information: Notepad++ User Manual - Regular Expressions

    0 讨论(0)
提交回复
热议问题