```javascript
var match = settings.url.match(/youtube\.com\/.+\/videos\/(.+)\?v=2&alt=jsonc/),
    status;

if (match) { ... }
```