Hot answers tagged

3

Can someone explain why 1234 4567 blahblahblah becomes blahblahblah When Search/Replace applied with: "Find what": ^\d{4}\h, "Replace with": (nothing) and "Regular expression" is enabled. ^ - Is an anchor that matches the start of a line. \d - A digit in the 0-9 range. {4} - Matches 4 copies of the element it applies to. \h - Horizontal spacing. ...


2

Here is a very simple approach: if the string begins with 0. then drop the zero if the string contains triplets like {space}0. then drop that zero if the string contains triplets like ,0. then drop that zero Select the cells and run this code: Sub fixdata() Dim r As Range, t As String For Each r In Selection t = r.Text If ...


1

What is the regular expressions to remove all XML? Menu "Search" > "Replace" (or Ctrl + H) Set "Find what" to Event Xml:(.*?)Event> Set "Replace with" to an empty string Enable "Regular expression" Enable ". matches newline" Click "Replace All" Before: Log Name: System Source: Service Control Manager Date: 2016/04/29 11:54:00 ...


1

According to this post as well as several others that I have read, this is not a feature and cannot be achieved as of now. Notepad++ -Only allows you to mark the words for the time being. -If notepad++ was to save the files with highlight format only Notepad++ would be able to use the files made. Unless the user deleted all highlighting before trying to ...


1

Here's a way to do it in excel if you paste your lines in column A and change workingRange to your range. Then you can just copy column A back to notepad Open Excel Developer tab and choose Visual Basic [for applications], or press Alt + F11. Copy the code below into a new module: Option Explicit Public Sub notepadthing() Dim workingRange As ...


1

You can use Resource Hacker to replace the original notepad++ icon with an .ico file of your liking. I don't know if Windows will then use the new icon as icons for .txt files though. Update: You can also use Resource Hacker to extract the original .txt File icon from shell32.dll. For me it was icon number 763.


1

I just recently switched to using the Document Map view but it's title paired with the now-redundant vertical scrollbar started kind of bothering me. I've been using AutoHotKey for years and it usually works like a charm for dirty quick "hacks" such as this. After a little research I achieved the desired effect. Here's what I added to my script: ...



Only top voted, non community-wiki answers of a minimum length are eligible