Reputation: 81
I have an English word list that needs some fixing.
There are some words that contain an apostrophe and some words that contain accented letters and so on and so forth.
I don't know all of the non-standard English letters used in the word list, so I want to be safe and just remove all lines containing non-standard English letters.
How can I do this using Notepad++?
Upvotes: 4
Views: 1299
Reputation: 9372
Do you mean everything except ascii? If so, try:
[^\x00-\x7F]+
Upvotes: 0
Reputation: 7613
Try this:
Find what
, enter: ^.*[^a-zA-Z\n\s]+.*$
Replace with,
enter: \n
or leave it blankRegular expression
option at the endreplace all
Upvotes: 2