Hi, of course, the pattern you need depends on your input data and the matches you want to get; good, that you found a pattern you are almost satisfied with or which you can tweak further.
The possible reason to use a pattern with "non-basic" Latin letters could be yout initial example with: "Kapł"; \w won't match ł in this case, as it works in a non-unicode mode here, i.e. it matches only the following characters: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z Note, that it matches basic Latin letters, an unterscore _ and also the digits 0-9, which might or might not be what you need. regards, vbr -- <https://forum.pspad.com/read.php?2,75204,75253> PSPad freeware editor https://www.pspad.com