vr

vimeo-regex

The correct vimeo video id regex

Showing:

Popularity

Downloads/wk

32

Maintenance

No Maintenance Data Available

Package

Dependencies

0

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

vimeo-regex Build Status

The correct Vimeo video id regex.

NPM

Install

$ npm install vimeo-regex
$ npm test

Play online

Usage

All use-cases are avaliable in tests

var vimeoRegex = require('vimeo-regex');

// plain link
vimeoRegex().test('https://vimeo.com/62092214');
//=> true

// groups link
vimeoRegex().test('http://vimeo.com/groups/musicvideo/videos/126199390');
//=> true

// get video ID
vimeoRegex().exec('https://vimeo.com/62092214')[5];
//=> 62092214

Thanks

You can match Vimeo due to these people:

NameGitHubTwitter
Ruslan Ismagilov@isRuslan@is_ruslan

License

MIT © Ruslan Ismagilov

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial