I am currently using regex to parse out and retrieve a file name from the content disposition header. It was working well until I tried to pass a file name containing spaces