I need to find and keep all strings that are in between <strong>string I want to keep</strong> tag and remove all other text (includes <strong></strong>)
Is it possible to do it in Notepad++, please advise.
I need to find and keep all strings that are in between <strong>string I want to keep</strong> tag and remove all other text (includes <strong></strong>)
Is it possible to do it in Notepad++, please advise.
Find:
.*?<strong>(.*?)</strong>.*?
Replace with:
\1
NOTE You should check . matches newline checkbox.

result:

Use \1\n if you want following as result:
