human
How to retrieve only arabic texts from a string using regular expression?
assistant
Here is some code to retrieve arabic texts from string `my_string`

print(re.findall('[\\u0600-\\u06FF]+', my_string))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.