bidbad.blogg.se

Notepad++ regex loop
Notepad++ regex loop






notepad++ regex loop notepad++ regex loop

If Notepad++ macros worked in every situation, I’d have been able to use them, but they would simply “malfunction” on me and not allow me to accomplish this. If you’ve ever had to move contacts from one piece of software to another you may have come across this problem to create an import file for the destination.

notepad++ regex loop

So, to start with I have a list of emails like this: Today, I needed to take a list of e-mails and, for each email take the part before the and copy it at the of the line with a tab in between. I’ve been using Notepad++ for some time now and have sort of a love-dislike relationship with it because it’s very powerful…but some things, notably macros don’t exactly work like I’d want them too…and sometimes, I really think they’re buggy. See my blog post about my laziness with regular expressions. I enjoy coding and writing weird SQL! But I’ve never been able to get my head around regular expressions…never really wanted to. I’ve had some very limited success in using them…mostly in a linux command-line grepping situation where I had some very good examples to work from and had no other choice…i.e. I’ve always found regular expressions to be a real un-intuitive mind-bender.








Notepad++ regex loop