Regular Expressions 101

Community Patterns

GIT URL

1

Regular Expression
ECMAScript (JavaScript)

/
^(?:git|ssh|https?|git@[-\w.]+):(\/\/)?(.*?)(\.git)(\/?|\#[-\d\w._]+?)$
/
gm

Description

no description available

Submitted by UNKNW - 6 years ago