Jump to content

grabbing something in a foreign language (Arabic)


jmahdi

Recommended Posts

hi there i'm trying to get the number only when in this place:

 

 رقم الحديث: 62

 

the number following an arabic word and a colon, i'm pulling only these numbers from a database and they allways come after this specific arabic word (some times there might be a space between the colon and the digit), i had allready tried this

 

/(\d+) :\p{Arabic}/

 

but to no avail!!  what can i do?  thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.