javascript regex stop at first match 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="(.*?)"/