## splitting the URL using jQuery

Question

Can i get the help of you guys as i want i can do it with url

I need to split the URL. and use last element as job_id, And then pass "jkdbsbd45JubJKAAASSYT" as job_Id.

URL: https://dev/job/?job_id=jkdbsbd45JubJKAAASSYT


Need to create this URL as below.

Need: https://dev/job/jkdbsbd45JubJKAAASSYT