Hi,

I am working on a script where I have strings that contain an English string followed by the Cyrillic translation. For now, I am looking for a way to strip out the Cyrillic characters and and leave the English ones. I have tried a simple regular expression such as :

$text =~ s/Surname.+/Surname/g;

Which doesn't seem to Match.

Any help is appreciated.

Barry


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to