On 29 Mar 2010, at 15:44, Kino wrote:

> On Mar 29, 2010, at 11:23 PM, Kino wrote:
> 
>> I think it is impossible to find and select just the letter without using a macro.
> 
> I seem to have found a workaround.
> 
> 	<letter>(?:\b|(?!\p{Latin}))
> 
> finds <letter> at the end of word in Latin script and
> 
> 	<letter>(?:\b|(?!\p{Arabic}))
> 
> finds <letter> at the end of word in Arabic script even if Latin or Arabic letters are used as note references which do not seem to be treated as belonging to any character class.

Thank you for your replies.
I only want to change the last letter in Arabic words so that instances of indefinite direct object are marked correctly.
Using the Script option seems to the best solution.

Hamid