I have a text file that includes both English and Arabic words.
How can I extract into a string, only the Arabic text?
Sample file:
<head>
ابتداء القول الأول
</head>
<p>
وأيضاً بعض الحيوان البحرى لجى وبعضه شاطئى، وبعضه صخرى.
</p>
And the desired output is:
only_arabic = "ابتداء القول الأول وأيضاً بعض الحيوان البحرى لجى وبعضه شاطئى، وبعضه صخرى"
I couldn't find regex that helps me with this issue. What am I missing?