JavaScript Regex Stop en el primer partido

// Adding a ? on a quantifier (?, * or +) makes it non-greedy.
/location="(.*?)"/
Obedient Oyster