JSFiddle - React, Tailwind, and code Playground

by Shree Khanal

JavaScript

var Yoururl= "http://something.com?acess_token=ashv6786sdjfhjd";
var acessToken=Yoururl.split('?')[1].split('=')[1];
alert(acessToken);