On Mon, 23 Jan 2017 13:23:38 -0800 (PST), subhabangal...@gmail.com wrote:
> I have a string like
>
> "Trump is $ the president of USA % Obama was $ the president
> of USA % Putin is $ the premier of Russia%"
>
> Here, I want to extract the portions from $...%, which would be
>
> "the president of
On Tue, Jan 24, 2017 at 8:23 AM, wrote:
> I have a string like
>
> "Trump is $ the president of USA % Obama was $ the president of USA % Putin
> is $ the premier of Russia%"
>
> Here, I want to extract the portions from $...%, which would be
>
> "the president of USA",
> "the president of USA",