Want to get last value using regex having multiple slashes -
i have string:
//abc.net/v1/hello/16546515646/abcdefgh i want value abcdefgh above using regex.
i using hello(\/.*)(\/.*), gives me string hello/16546515646/abcdefgh
can provide regex how abcdefgh?
Comments
Post a Comment