[Solved] Regex to return all attributes of a web page that starts by a specific value

A regular expression would likely look like this: /http:\/\/example\.com\/api\/v3\?\S+/g Make sure to escape each / and ? with a backslash. \S+ yields all subsequent non-space characters. You can also try [^\s”]+ instead of \S if you also want to exclude quote marks. In my experience, though, regexes are usually slower than working on already parsed … Read more