All:
I am pretty new to Regex in JS, if I have a string like( of course not this simple, but this part is most important to me):
?view=Peer%20Comparison&&userid=123
I want to extract the "view=Peer%20Comparison" part with non-capture group and capture group(there may be multiple query parameter pairs)
Could anyone help me with this(I guess this is very simple to regex guru, but I just can not think out of any, sorry for interrupt)?
Thanks