Hi,

I have this string:

```
var referer = "https://example.net:3000/page?room=room2"

```

I want to get only what comes after `=room` no matter its position so I tried this:

```
var value = referer.match(/[?&;](.+?)=([^&;]+)/g);

```

but Im getting this `["?room=room2"]` whereas the expected output is just `2`. Please see this fiddle: <https://jsfiddle.net/8fduhLep/>

What am I missing here?

Thank you.