I've got a camel endpoint uri as 

```
file:///test/csv?sortBy=file:name&include=.*.csv&move=done

```

I'm using a regex to parse just the file name, the regex I used is `.*?:(.*)\??.*`

but its failing to strip the options and returning the whole string 

```
///test/csv?sortBy=file:name&include=.*.csv&move=done

```

whereas the expected result is `///test/csv`

what is wrong with my pattern