I have an address like this:
123 Main St, Los Angeles, CA, 90210
I'd like to capture just the city:
Los Angeles
I've beeing trying tomsething like this:
(?:[^,]+),\s([^,]+)
But I don't understand how to return just the 2nd group. Using a flag like {2} seems to be including every up to the second group and not only the second group.
UPDATE
I'm using a Chrome extension that uses regex patterns, so using Javascript or another language is not possible in this case.