I would like to remove part of a string. It would have to match “/*/cms/” (without the quotes). * would be a wildcard equaling anything except a / key. The string could have more than one match to be removed.
This would have to be done in c#. I think this can be done with a regex? But I’m not sure.
The regex to match that is
/[^/]*/cms/, used like this:new Regex("/[^/]*/cms/").Replace(yourString, "")