I want to fetch a string from my website string.
suppose if I have a website https://www.mrkashyap.com/users/manish i want to fetch only the word manish or anything after users/
how can I?
I got the URL from var str= window.location.href
I am using this in ReactJS.
thanks