extractOptionsAndPath

Takes url in format [options]url and separates the two.

Parameters

url

The full url.