Domanda

I have a list of 1000 e-mail addresses separated by semicolons in Notepad ++, and I am trying to select the first 100 with a regular expression.

My list looks like this:

jack@gmail.com; bill@outlook.com; bianca@yahoo.fr;...

I used the following regex but it doesn't work (no match found):

([^;]+;){100}
È stato utile?

Soluzione

Notepad++ does not support quantifiers until version 6.0. The problem may simply be updating Notepad++ to the latest version

6.0 Release Notes: http://notepad-plus-plus.org/news/notepad-6.0-release.html

Altri suggerimenti

Try this, should work with less than 100 addresses as well (which I expect is your problem):

^([^;]+;){1,100}
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top