Cyrillic + Latin + Digits regex

Hello, I need to read text and remove all characters except russian Cyrillic + standard Latin letters + Numbers + ,.-

Probably the best way is to use regex, but I have no experience with it. Please help!

Hi @NotFranmax

Try this

[^\s\p{IsCyrillic}A-Za-z0-9,.-]+

2 Likes

It Works, thank You @NIVED_NAMBIAR

If Possible I would also appreciate the way to remove new lines, is there universal way or should I just replace vbNewLine with nothing?

Can we try this way ?

Instead of replacing , matching all except new line?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.