Newest questions tagged notepad++ - Super User

most recent 30 from superuser.com

Latest articles

Convert Windows Batch to run on CentOS?

I got my current script: @echo off c: REM Forces to change to C drive cd / REM Forces to start at c:\ instead of a random folder cd Users\%USERNAME%\Documents\ REM Selects the work folder echo current directory = %cd% REM Displays the work folder set /p Folder= Please insert domain name? REM Asks user for folder name to save...

How to replace last character on every line Notepad++

I have lots of data like this google3com/forld/umss/damo174_dfhcfg.php google3com/forld/umss/damo174_ffg66f.php I want to replace only the latest 10 character with : VVVVVV.htm So the result will be like this: google3com/forld/umss/damo174_VVVVVV.htm google3com/forld/umss/damo174_VVVVVV.htm How can I do that?

In Notepad++, how to Replace Text between two delimiter across multiple lines

A comma-delimited file is created when exporting google contacts into what they term "Google CSV format (for importing into a Google account)". The issue is this format handles notes on multiple lines by inserting the text in quotes, and allowing CRLF with those quotes. In other words, imagine a record with Name,Note,Email when it has a multi-line...

Save files with modification time of last change in Notepad++

In notepad++, many times I have hundreds of tabs and leave unsaved text files for weeks before I finally save them. When I do, I would like to save them not with the current timestamp, but with the timestamp of when I actually last modified them (i.e. the timestamp of the appropriate backup file in c:\Documents and Settings\<USER>\Appplication...

Highlighting similar text (not markup) in Linux editor (vis-a-vis Notepad++)?

I rely heavily on the ability in Notepad ++ to select any set of characters and have the program apply a highlight to all other occurrences of that string in the document. Visually, it's similar to the highlighting induced when using the "find" function in gedit, but it's a permanent highlight. Conveniently, Notepad ++ lets you apply multiple highlights...

Moving numbered content from one column to another in Excel or Notepad++

I have a sheet that has one column with multiple rows. The rows contain numbered content (anywhere from 1-16) on individual lines - this is not a set number, it varies per row. Is there an expression that can be written to take the numbered content and put it in the following cells? Current Layout Desired Layout I can also export this as a...

Notepad ++ Append filename when using Save All

I'm hoping for some help in appending the files names in multiple open files when saving them all. For example I have file1, file2 and file3 open. I want to save them all at once and rename them file1a, file2a and file3a when doing so. Any easy way to do this? Doing it one by one right now. Prefer without adding plugins if possible as this...

Using notepad++ for multiple selection and markdown bold formatting

I use notepad++ for Markdown formatting. I have recorded a macro for converting selected text to markdown bold, which runs like this: Highlighted Text Cut Text Type "**" Paste Text Type "**" Is it possible to make multiple selections and have notepad++ process them individually so that they get formatted markdown bold style....

How do I bookmark several lines with a regular expression?

I have this regular expression that finds a line with the world "Title Sequence" matches the 2 previous lines above it, the next 1 to 5 lines below it and finally a line with a year in it (four digits). ((^.*$)\r\n){2}(^.*Title Sequence.*$\r\n)((.*\r\n){1,5}^.*, \d{4}.*$) This works fine but when I try to bookmark all these lines int notepad++...

How to remove line breaks from a text document

I have a document like the following: This is my document example text This is my document example text This is my document example text This is my document example text This is my document example text This is my document example text This is my document example text Is there a way I can quickly fix files to bring the 'document example...

Discover, share and read the best on the web

Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters! Get unfiltered news feeds or filter them to your liking.

Get Inoreader
Inoreader - Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters!