regex stop at first match after whildcard code example
Example: javascript regex stop at first match
// Adding a ? on a quantifier (?, * or +) makes it non-greedy.
/location="(.*?)"/
// Adding a ? on a quantifier (?, * or +) makes it non-greedy.
/location="(.*?)"/