VBA Regular Expressions character groups do not support unicode character groups (e.g. {p(L}
). Also \w
matches only latin alphanumerics. So my problem was how to replace non alphanumeric characters from my unicode string without typing the whole characters' list in pattern field.
For example, trying to replace with underscore every non word character in "abc (for αβψ̌) and de (for δε)"
, with pattern \W
results in "abc__for_______and_de__for____"
instead of abc__for_αβψ___and_de__for_δε_
Finally I think there is at least one quick solution...