How do I delete specific lines in Notepad++?

Notepad++ v6.5 Search menu -> Find… -> Mark tab -> Find what: your search text, check Bookmark Line, then Mark All. This will bookmark all the lines with the search term, you’ll see the blue circles in the margin. Then Search menu -> Bookmark -> Remove Bookmarked Lines. This will delete all the bookmarked lines. … Read more

Notepad++ find in files filter EXCLUDE

Note, as of December 5th, 2019, Notepad++ 7.8.2 now supports exclude filters. The help documentation describes exclude filters in the Find in Files tab section. For example to exclude exe, zip and jar files, your ‘find in files’ filter will look like this; *.* !*.exe !*.zip !*.jar Relevant code change in the GitHub commit.

Add quotation at the start and end of each line in Notepad++

You won’t be able to do it in a single replacement; you’ll have to perform a few steps. Here’s how I’d do it: Find (in regular expression mode): (.+) Replace with: “\1” This adds the quotes: “AliceBlue” “AntiqueWhite” “Aqua” “Aquamarine” “Azure” “Beige” “Bisque” “Black” “BlanchedAlmond” Find (in extended mode): \r\n Replace with (with a space … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)