Hi I'm trying to without succeed to use regular expression to select he string before the \r\ , ideally in majority of the times is a word follow by a coma. But as showed the \r\ and some other obstacles appear .Example below:
var
Sao Paulo , Brazil \r\n Details Description ....
Rio de Janeiro , Brazil ... Pending funding.
(result)expected
Sao Paulo , Brasil