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

Leave a Reply

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