문제

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}
도움이 되었습니까?

해결책

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

다른 팁

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

^([^;]+;){1,100}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top