I have a text like the following:
[]përgjithshme [" është "] 28.748 [< kilometra katrorë.>]
This text contains cyrillic characters in the range U400 - U4FF.
I want to strip out the non-alphas such as: []"<> but when I do this in Perl using Matt Mahoney's script: http://mattmahoney.net/dc/textdata.html it also applies the following Perl line:
tr/a-z/ /cs;
This remove also the cyrillic chars above like ë.
Is there a way to do this in Perl, namely remove non-alphas whilst ignoring certain unicode chars that fall under a range like the one I mentioned above?