how to get specific word from the string javascript

Solutions on MaxInterview for how to get specific word from the string javascript by the best coders in the world

showing results for - "how to get specific word from the string javascript"
Darrin
12 Aug 2020
1var str = 'https://dev-bmm-assets.s3.ap-south-1.amazonaws.com/footage-zip%2FAMZ-SF-FSH00685.zip';
2var value = str.match('%2F')[1];
3
4alert(value); // 226885