[Notepad++] How can I delete rest of the line after a specific string?

Using find and replace:
  1. Hit CTRL-H to open the Replace dialogue box
  2. enter String.* into Find what
  3. leave Replace with empty(/1)
  4. Select Regular expression and .matches newline
  5. Click on Replace
ref:https://superuser.com/questions/233562/how-can-i-delete-rest-of-the-line-after-a-specific-string

Comments

Popular posts from this blog