Regular Expressions 101

Library entries

GitHub and GitLab URL detection

Vote

0

Regular Expression
javascript

/
(github.com|gitlab.com)\/([A-Za-z0-9-_]+)\/([A-Za-z0-9-_]+)
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago