I\'m trying to use a regular expression within PowerShell to remove everything from the last slash in this string;
NorthWind.ac.uk/Users/Current/IT/Surname,
Replace /[^/]*$ with an empty string
/[^/]*$