• adding extra column in database

    Locked
    14
    0 Votes
    14 Posts
    8k Views
    guy038G
    Hi, Camilo and All, Look, guys : I found a general, but difficult, regex but you, Camilo, you just pinpoint the right regex, which is quite adapted to your list. Bravo ! Moreover, against a big file, the regex engine will execute this regex faster than mime :-) I should have thought about it, some more time ! Of course, this implies that the state is a one-word, composed of two capital letters So, instead of my complicated regex, it can be simply achieved with : Find what : (?-i)\s([A-Z]{2},) Replace with : ,\1 Note : I just added the (?-i), at the beginning of the regex, in order to force the regex engine to search in a sensitive way, whatever the Match case option is set or unset About the single quotes problem, there are, usually, 3 kinds : The usual single quote ', ( Apostrophe ) of Unicode code \x27 The ‘ ( Left single quotation mark ) of Unicode code \x{2018} The ’ ( Right single quotation mark ) of Unicode code \x{2019} However, I’m a bit confused, as it seems rather easy to get rid of any of these 3 characters, with the simple S/R, below : Find what : '|\x{2018}|\x{2019} Replace with : Leave EMPTY Best Regards, guy038
  • CDATA is not properly rendered in html files

    Locked cdata javascript html
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC
    Hello @Carl-in-'t-Veld, AFAIK this how the current lexer is working. Don’t know of any other html lexer yet. Cheers Claudia
  • Find and Replace

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    guy038G
    Hello Kishor V Basically, this kind of operation can be easily achieved with a search/replacement, in extended or regular expression mode For instance, starting with the list below : Family Name : Adams First Name : Paul Age : 17 Secondary School : St Andrews College You would obtain, after the S/R : Family Name : Adams First Name : Paul Age : 17 Secondary School : St Andrews College Do you expect this behaviour ? If so, after opening the Replace dialog ( CTRL +H ) : A) If you check the Regular expression radio button : Find what : :\R Replace with : : Notes : In the Replace zone, the colon is followed with a single SPACE The \R syntax, means ( among other things ! ) any End of Line character ( \r\n with a Windows format, \n with an Unix/OSX format or \r with an old MAC format ) B) If you check the Extended (\n, \r, \t, \0, \x…) radio button : Find what : :\r\n ( WINDOWS file format ) Replace with : : Notes : In the Replace zone, the colon is followed with a single SPACE If you currently use other file format than Windows, just write the right End of Line character, in the Find what zone Best Regards, guy038
  • Identify , assigning language to a text file

    Locked language documentation
    2
    0 Votes
    2 Posts
    2k Views
    kawingaK
    Hi Antonio, take a look at %appdata%\Roaming\Notepad++\langs.xml KR, Robert
  • I want to Bookmark a line by taking below or above line text reference.

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    kawingaK
    Macro - Start Recording CTRL + F, Search “Example”, Search and Close Search-Dialog Arrow-Down CTRL+F2 (Set Bookmark) F3 (Search Next) Arrow-Down CTRL+F2 Macro - Stop Recording Macro - Save Current Macro Macro - Run a Macro Multiple Times… “Run until end of file” Voilà :-)
  • Replace in KLM file

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD
    Make sure you are in “Regular expression” mode. Search for: <gx:duration>.*?</gx:duration> Replace with <gx:duration>3.1415926</gx:duration> Or whatever value you need.
  • Cant able to open any file using Notepad ++

    Locked open file open issue
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • & symbol invisible

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD
    This is a known issue with the “Source Code Pro” font. In your style configurator make sure you aren’t using it at all.
  • id/shortcut for the Workspace directory

    Locked
    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    10 Posts
    13k Views
    minsikauM
    thanks Claudia. I have moved past those files so cant test currently. In future I will be back to the pesky lists again so will check then. Really appreciate the guidance. MInsik
  • Collapse level 1 no longer collapses just functions

    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC
    Hi Jeremy, So this is something I’ll just have to live with unless someone fancies fixing the underlying component notepad++ is based on, right? I’m afraid, yes. Cheers Claudia
  • Hand navigation

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC
    Hello @Pascal-P. unfortunately I don’t know what a hand tool is and what it is used for. Cheers Claudia
  • Strange Characters

    Locked characters display unicode convert font
    2
    0 Votes
    2 Posts
    10k Views
    Claudia FrankC
    Hello @Scotty-Huff, normally XML should be UTF-8 encoded but actually I assume this is ANSI. Give it a try to change in Menu Encoding->Encode ANSI/UTF-8 Cheers Claudia
  • Tab indent not showing in my log.txt file

    tab indent
    12
    0 Votes
    12 Posts
    10k Views
    Nic HardingN
    Heres an example of using pipes and dashes: Mon, 18 Apr 2016 :: Process_Destroyed_gphoto() Mon, 18 Apr 2016 :: ----Set volume to 100% Mon, 18 Apr 2016 :: ----Win_Restore ahk_exe ehshell.exe Mon, 18 Apr 2016 :: ----|—Win_Focus ahk_exe ehshell.exe Mon, 18 Apr 2016 :: ----|—Process_Created_gphoto() Mon, 18 Apr 2016 :: ----|—|—test1 Mon, 18 Apr 2016 :: ----|—|—test1 Mon, 18 Apr 2016 :: ----|—|—test1 Mon, 18 Apr 2016 :: ----|—|—|—test2 Mon, 18 Apr 2016 :: ----|—|—|—test2 Mon, 18 Apr 2016 :: ----|—|—|—test2 Mon, 18 Apr 2016 :: ----|—Back to here Mon, 18 Apr 2016 :: ----|—Back to here Mon, 18 Apr 2016 :: ----Back to here Is it possible to show indent guides in the middle of a line where my tabs are??
  • Automatically run Find in Files without user interaction

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD
    AFAIK there is not a current way to automatically do something like that. Honestly it sounds like using N++ would be overkill. You might try other command line programs that are made specifically to do these tasks. sed and awk are two that come to mind. They do not come with Windows by default (unfortunately), but they are easy to find online.
  • Grid View as there in Altova XML Spy:

    grid view
    2
    0 Votes
    2 Posts
    4k Views
    Claudia FrankC
    Hello @Inderpal-Kapoor, no, not natively and I’m not aware of any plugin which would provide such functionality Cheers Claudia
  • Comments in "shortcuts.xml"

    Locked xml comments
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • UDL Documentation and how to define a Language to highlight Log files

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC
    Hello @Chris-Swinney, I’m not sure if you can do this with UDL properly as it is designed to act on words rather than lines. If it is sufficient then define the keywords ERROR, WARNING with the foreground and background color of your choice and define a double quote delimiter for open and close. Press style and allow nesting with your keywords. If this isn’t what you are looking for, then the other alternative I now would be using a python script to color the the lines. Cheers Claudia
  • How to get back option to run in web browser for version 6.9.1?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC
    Hello @Kirk-Webmeister, the current release does it also have. Under Run menu? If it doesn’t appear, chech your shortcuts.xml file. Default content is <NotepadPlus> <InternalCommands /> <Macros> <Macro name="Trim Trailing and save" Ctrl="no" Alt="yes" Shift="yes" Key="83"> <Action type="2" message="0" wParam="42024" lParam="0" sParam="" /> <Action type="2" message="0" wParam="41006" lParam="0" sParam="" /> </Macro> </Macros> <UserDefinedCommands> <Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in Safari" Ctrl="yes" Alt="yes" Shift="yes" Key="70">safari &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Get php help" Ctrl="no" Alt="yes" Shift="no" Key="112">http://www.php.net/$(CURRENT_WORD)</Command> <Command name="Google Search" Ctrl="no" Alt="yes" Shift="no" Key="113">https://www.google.com/search?q=$(CURRENT_WORD)</Command> <Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command> <Command name="Open file" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command> <Command name="Open in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -nosession -multiInst</Command> <Command name="Send via Outlook" Ctrl="yes" Alt="yes" Shift="yes" Key="79">outlook /a &quot;$(FULL_CURRENT_PATH)&quot;</Command> </UserDefinedCommands> <PluginCommands /> <ScintillaKeys /> </NotepadPlus> Cheers Claudia
  • Find and replace the 4th occurrence of string </p>

    8
    0 Votes
    8 Posts
    15k Views
    Radu LucianR
    Thank you all for your help. I solved my problem with your help, I really appreciate that. Best Regards, Radu