Extract persian sentence from multi language string in wordpress theme

by saeed shabani   Last Updated November 14, 2017 18:08 PM

For example i have sentences like this:

$text = 'دانلود Tasty Planet: Back for Seconds – بازی آرکید جالب “سیاره خوشمزه ۲” اندروید !';

I need to extract only the Persian section of this sentences like this.

دانلود بازی آرکید جالب “سیاره خوشمزه ۲” اندروید !

How can i do this in wordpress theme?

Related Questions

Wordpress Theme Development

Updated September 27, 2017 07:08 AM

Alignment Problem

Updated February 20, 2018 23:08 PM