Hi, echo "???? is a vast country" | perl -pe '/(????)/; print $1."\n"'
if you want to replace it with something: echo "???? is a vast country" | perl -pe 's/????/something/g' But this is normally not the list to ask perl questions to... Best, Thomas On 04/12/13 10:55, Pranjal Das wrote: > can anyone help with a perl script to extract unicode words from a > sentence. For eg. i want to extract the word ???? from the sentence > "???? is a vast country".. > * Pranjal Das* > Department of Information Technology, > Institute of Science and Technology, > Gauhati University,Guwahati,Assam > Phone- +91-8399879454 > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
