Hi, I have a text file that’s list of Enlgish words, with their Arabic counterparts. Here’s a sample:
Abrams = أبرامز
Abramson = أبرامسون
Abrasion = الجرح
Abrasions = الجروح
Abrasive = المزيل
Abrasively = بخشونة
Abrasiveness = الحكّ
Abrasives = المزيلات
Abreact = حرّر
Abreacted = حرّر
Abreacting = تخليص من العقد
Abreaction = تحرّر من عقدة نفسيّة
Abreactions = تحرّر من عقدة نفسيّة
Abreacts = يحرّر
Abreast = جنبًا إلى جنب
Abridge = اختصر
Abridged = اختصر
Abridgement = الاختصار
Abridgements = الاختصارات
Abridger = الملخّص
Abridges = يختصر
Abridging = الاختصار
Abridgment = الاختصار
Abroad = بالخارج
Abrogate = ألغ
Abrogated = ألغى
Abrogates = يلغي
The goal: [i]To explode all of the Arabic words in to an array
I am guessing I’ll need to use preg_replace() to take out the english words and the extraneous spaces, and then use explode() to get all of the Arabic words in to an array.
HELP!