How to delete everything between two words in Notepad++

Steps to remove text between two words
- Open Notepad++.
- Load the file in which you want to delete text.
- Go to the Search menu.
- Select Replace.
- Enable the Regular expression option.
- In the Find field, enter the regular expression that includes the starting and ending words between which you want to delete the text.
start_word(.|\s)*?end_word
Deleting text between the numbers 1 and 2
1.*?2
Deleting text between the symbols @ and #
\@.*?\#
Now you know how to delete everything between two words in Notepad++ using regular expressions.