Regular Expressions 101

Community Patterns

GitHub and GitLab URL detection

0

Regular Expression
ECMAScript (JavaScript)

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

Description

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