About 22,600,000 results
Open links in new tab
  1. How do I match an entire line in Notepad++ for search/replace?

    Nov 8, 2011 · I'd like to do a bulk line-by-line replace on a file within Notepad++ like so: This is my line of text that I would like to replace to "This is my line of text that I would like to replace" + I t...

  2. How to make regex match across multiple lines in Notepad++?

    All you need to do is check . matches newline in Notepad++ Search/Replace Search Mode: This will make the dot . in your regex match newline, so .* will match any number of newlines.

  3. How to Match Patterns Across Lines in Notepad++

    Sep 21, 2024 · Learn how to use Notepad++ to match patterns across lines in your text files. This tutorial covers finding paired values separated by text, and provides a step-by-step guide to …

  4. Find a line and copy the next 10 lines | Notepad++ Community

    Apr 4, 2016 · First, to match all the contents of that specific line, as well as its End of Line characters, just use the regex :^.*12345.*\R. Secondly, to select : All the contents of that line …

  5. Find end of the line in a regular expression using Notepad++

    \R (capital R) will grab any end of line characters in Notepad++. I usually do something like this: -.+\R will grab everything from the hyphen through to the end of line as well as any return …

  6. replace entire line containing text or symbol (notepad++)

    Mar 29, 2022 · Yes, you can do this using regex: Do not forget to select below in Search Mode -> Regular Expression. In your case the regex should be something like: ^%00[0-9]{2}(.*) So, if I …

  7. How To Find and Replace Text - textexpander.com

    Apr 22, 2025 · Notepad++, Sublime Text, and VS Code. These editors offer more power, especially for developers and technical users. Common steps: Use Ctrl + H (or Command …

  8. Find all lines that contain specific strings - Notepad++ Community

    Aug 17, 2017 · You can add \b before and after each word in your search if you truly want that exact word…and not words embedded in others…for example \btest\b will match test but not …

  9. notepad++ - find and replace end of line with "\n" verbatim

    Apr 21, 2017 · A simple way to do it is to copy two lines in a row from the current document into the Find or Replace dialog, this way you retrieve the end of line character. The same applies …

  10. notepad++ regexp to find all lines which contain a specific string

    Jun 18, 2011 · Open up the search-replace, choose mode regex and search for: ^.*(string).*$ and let the replacement be \1 (this is the string marking the lines you don't want). This will leave …

Refresh