First get the substring index:
int startIndex = mainString.IndexOf(subString);
Then get the index of the following slashes:
int endIndex = mainString.IndexOf("///", startIndex);
Then you can get the substring you need:
string amountString = mainString.Substring(startIndex, endIndex - startIndex);
source
share