string has the below values as example cannot use find as the characters keep changing but the format remain same
First
//file:/abc/xyz/zyx/hcdff/ nsledf/abcde
//file:/abc/xyz/zyx/hcdff/ nsledf/abcde/
I need to extract in both the scenario abcde value