Strip specific tags using Notepad++

Strip specific tags from a file using Notepad++

Steps to Strip All Tags

  1. Open the file in Notepad++
  2. Open the Replace dialog (Ctrl + H)
  3. In the “Find what” field, enter a specific expression, for example: <(span|p).*?>
    This expression finds both the opening and closing tags or span and p elements.
  4. Leave the “Replace with” field empty.
  5. Select the Regular expression search mode.
  6. Click Replace All

Related Posts

Remove empty lines using Notepad++

Strip all tags using Notepad++

Strip all HTML or XML tags from a file using Notepad++ Steps to Strip All Tags

Essential Notepad++ keyboard shortcuts

End Jump to the end of the line Home Jump to the start of the line Ctrl+Shift+Delete Delete line Ctrl+D Duplicate line Ctrl+F2 Bookmark line F2 Jump…

Leave a Reply

Your email address will not be published. Required fields are marked *