I want to remove all words in nodepad++ that are longer than 2 chars. I know how to find two letter words:
^[a-zA-Z]{2}$
However, I want to remove all words that are larger. Any recommendations how to do that?
BR!
UPDATE
This is how my data look like:

UPDATE
Some sample data from the file:
AF | AX AL
DZ
AS
AD
ANGOLA AO
Well, instead of specifying 2 as the size, you say "3 or more"; 3,.
[a-zA-Z]{3,}
You could use
[^\s]{3,}
This will match any non-space character string that is at least 3 letters long with no maximum
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With