Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?:https|http)\:\/\/github\.com\/([a-zA-Z0-9]+)\/([a-zA-Z0-9\.\-_]+)$
/
isg

Description

Validate Github URI

Submitted by Shoaiyb Sysa - 3 years ago (Last modified 3 years ago)