javaScript Recex Stop на первом матче

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