SyntaxFix
Write A Post
Hire A Developer
Questions
How about
.*location="([^"]*)".*
This avoids the unlimited search with .* and will match exactly to the first quote.