I have a string which and I need to get the access token out of this string .However we also need to confirm if access token is there or not .
The string is as followed .
?utm_source=xyz&utm_medium=xyza&utm_campaign=xyzb&access_token=abybsjw16373vdgw
I need to get the access token out of this using javascript. I would like to understand as how people approach such problems .