I am trying to extract a the substring between the second slash and the first = character. Currently I'm using split to achieve this. How can I use regex to do this?. Thanks in advance.
input - "/test/example=1244 output- example
This is what I'm using currently:
String test= inputString.split("/")[2].split("=")[0];