I am getting raw html from one site in javascript.

Here is the example part:

```
<a href="/?Stat=5&item=10739">Coldwater</a></b>

```

Now I use `exec` to pull some data out with pattern:

```
Stat=5&item=(\d.*)">(.*)<\/a><\/b>

```

It works fine in regex tester ([link](http://regex101.com/r/nC8dP9/1)), problem is how to write in js, currently I have this code (returns null):

```
$.get(link,function(data) {
    var raw = data,
        pattern = / Stat=5&item=(\d.*)">(.*)<\/a><\/b>/gi,
        matches = pattern.exec(raw);
    console.log(matches);
});

```

Probably I have to remove some single/double quotes, slashes from that raw html?