• Add href expression as exeption

    Locked
    1
    1 Votes
    1 Posts
    763 Views
    No one has replied
  • Macro not behaving the same as keystrokes

    macro
    5
    1 Votes
    5 Posts
    2k Views
    Russ FisherR
    Thank you Peter and guy038, Both solutions are very elegant, but I chose to use guy038’s - it works like a champ! This make coding with auto-complete symbols and tags so much easier. I cut my programming teeth editing in Wordstar on CP/M machines (ok, my age is showing and many of you young folks have no clue what I’m talking about.) This was before there were cursor directional keys and all cursor movements were done with <Ctrl>-? sequences. I’m a relatively fast touch typist and hate leaving the home row to find <End>, <Home>, <Left-arrow> etc. I’ve also swapped the position of the <Ctrl> and <Caps lock> keys (registry hack) to put <Ctrl> back where God (and IBM) intended to be. Thanks again for your help. Cheers, Russ
  • Please help me to replace text like the following condition

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Nguyen WanderozN
    @guy038 said: Replace All Hello @guy038 , Thank you very much! It worked like magic!!! And your crystal cleared explaination make a dummy like me can get to understand. Surely, I need to start to learn about regular expressions. Best Regards, Wanderoz
  • Need help to replace tags to one xml from another xml

    22
    0 Votes
    22 Posts
    11k Views
    ganesan govindarajanG
    @Terry-R Thank you so much! I will check that link and try to get resolve myself. ganesang
  • Want to see all my posts

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    C Ananda RaoC
    Thanks Mr Terry R!
  • This "»" Changes to This "禄"

    Locked
    1
    0 Votes
    1 Posts
    831 Views
    No one has replied
  • 0 Votes
    4 Posts
    4k Views
    PeterJonesP
    Sorry, I have no host recommendations; my host also doesn’t play with NppFTP’s algorithms, but since FileZilla was already my file-transfer app of choice, it wasn’t that difficult for me to change my workflow from using the NppFTP plugin in Notepad++ to using Notepad++ as the editor-application for FileZilla (as described in my link, above).
  • Compare a whole file with several files / a directory

    5
    0 Votes
    5 Posts
    4k Views
    Stephan RS
    Hi @guy038 this is working perfectly! Many thanks for the work that you put in my special (and probably unique) query! You saved my day! ((: Best Regards, Stephan
  • Is there any plugin to search specific word within the specific method?

    4
    2 Votes
    4 Posts
    1k Views
    guy038G
    Hi, @publicst, @claudia-frank and All, A similar and more simple regex could be : SEARCH (?s-i)void method[^}]+for.+?\} Cheers, guy038
  • Deleting all numbers with specific letter(s)

    Locked
    8
    0 Votes
    8 Posts
    2k Views
    Berniukas NeziniukasB
    @guy038 Sorry for being unclear! Sometimes I read my older posts and wonder how people managed to find any sense in them. That’s why I post so rarely…
  • Regex: Find words between words

    Locked
    4
    2 Votes
    4 Posts
    2k Views
    Vasile CarausV
    thank you also, a(\W+\w+){1,6}\W+for
  • Seperate a format in rows

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    guy038G
    Hello @ph0enix, @Scott-sumner and All, if the general template of your data is always : ........@..........;...... Here are, below, 3 other possible regex S/R. Similarly to Scott’s post, you must select the Regular expression search mode, tick the Wrap around option and click on the Replace All button. Note that the Replace with: zone is always Empty First regex : SEARCH (?-s)@.+ REPLACE Empty Results : 123.456.78.0:22000 12.3.456.789:10000 Second regex : SEARCH (?-s).+?@|;.+ REPLACE Empty Results : Name\Name123 NAME\Name-1 Third regex : SEARCH (?-s).+; REPLACE Empty Results : name Name2017 Best Regards, guy038
  • Delete Individual Lines in Multiple Files based on a List

    Locked
    3
    1 Votes
    3 Posts
    2k Views
    Darren WhiteD
    Scott, Thank you. I knew there would be a way and I almost knew it would be something in a regular expression, but only gods like yourself would know what to do. I really like the idea of a delimeter and then using the search to match any above and below the line. I did not get the chance to try this (although I can’t see why it wouldn’t work) as I thought of an alternative, which was to use Excel and a formula. I managed to open each of my 5 files in one workbook with seperate tabs and use a formula to look at a control tab to find any matches. I think it’s pretty much the same thing as your suggestion, just using vba and not regex. I thank you for your efforts
  • how to move cursor to begining of next line

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS
    @Allan-Biggs Try pressing Alt+Home in your macro where you are pressing Home.
  • Silent Install in specific language

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Can Regex paste values into another file?

    Locked
    11
    0 Votes
    11 Posts
    5k Views
    Scott SumnerS
    @C-Ananda-Rao Well, when I asked for data, I guess I should have asked for an explanation of that data to accompany it… I suppose I assumed that the phone number was the last part of every line where digits were present. Anyway, hopefully @guy038’s response provides the help you needed.
  • Can't type "{" or "["

    Locked
    1
    0 Votes
    1 Posts
    957 Views
    No one has replied
  • De-Deuplicate chunks of text? (screenshot)

    Locked
    2
    0 Votes
    2 Posts
    885 Views
    Terry RT
    Well @John-Drachenberg I’d try and grab the records in the group of 5 lines from the date added to the url line, combining them all into 1 line (so replacing CR/LF) with some other delimiter. I’d then create a "key at the start of the line, possibly the main part of the url, excluding any /folder names. Sort all the lines so that it would easily match up possible duplicate urls. To my mind a duplicate is any url where even if the /folder names/ portion was different would warrant further inspection. At this point either eyeball the duplicates, or another regex could mark possible duplicates for further inspection. Not sure if you actually want a regex to just remove duplicates in the original file, or would be happy just getting a list of possible duplicates which you could then check against the original and remove manually. Terry
  • cursor invisible

    Locked cursor visible
    2
    0 Votes
    2 Posts
    9k Views
    Scott SumnerS
    @Alain-Torrens Settings (menu) -> Preferences… -> Editing (box on left) -> Caret Settings -> Width can get you a much more visible caret/cursor…but not everything you’ve requested.
  • Find/Replace Command

    Locked
    2
    0 Votes
    2 Posts
    997 Views
    Scott SumnerS
    @Rasmus-van-moortel can someone please help me? Nope, not without more detail than that…hint: show some before and (desired) after data.