I want to convert the following string to the provided output. Input: "\\test\red\bob\fred\new" Output: "testredbobfrednew" I’ve not found any solution that will handle special characters like \r, \n, \b, etc. Basically I just want to get rid of anything that is not alphanumeric.
Home/regex