I'm new to Regex and was wondering how to split this string s4://test-dev/prefixes/file.mxf
into ['test-dev', 'prefixes/file.mxf']
. I want it to work for an unknown file path.
Ex)
s4://test-dev/prefixes/file.mxf/newpath/anothernewpath
into
['test-dev', 'prefixes/file.mxf/newpath/anothernewpath']