JavaScript Regex Stop lors du premier match
// Adding a ? on a quantifier (?, * or +) makes it non-greedy.
/location="(.*?)"/
Obedient Oyster
// Adding a ? on a quantifier (?, * or +) makes it non-greedy.
/location="(.*?)"/