the text:
aaa
the regex:
a{2}
the answer of notepad++ (v5.9.6.2 (UNICODE)):
Can’t find the text “a{2}”
How can I realize this expression (searching n times) in notepad++?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
UPDATE: as of Notepad++ 6.x which now uses PCRE as its regex engine, your given expression should now work as is.
Notepad++ older than 6.0 doesn’t support number quantifiers in its regex engine. You’ll have to make do with
aa(repeating the input n times).